Jump to content

Archived

This topic is now archived and is closed to further replies.

Lorian

Set up server to respond to requests

Recommended Posts

Am running Apache on Fedora Core 4, all works fine, set up my router to redirect port 80 traffic to this PC, but when I try to type in my IP address in the address bar if doesn't respond.

 

How do I sort it out? Cheers

Share this post


Link to post
Share on other sites

First check to see if apache is up and listening.

]$ netstat -tlpn

If you don't see something listening to port 80 then you'll have to check that the server is running. If you used rpms to install apache you should be able to do the following to start it

]$ /sbin/service httpd start

You can then test that it's responding using telnet assuming it's installed

telnet 127.0.0.1 80

Now try to connect from the other box. If you can't then it's more than likely that either your firewall is blocking incomming connections or the router is misconfigured

 

Post your progress

Share this post


Link to post
Share on other sites

Ah, misconfigured firewall, heh, didn't think of that. It is working now, cheers :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.