Jump to content


Photo

Set up server to respond to requests


  • Please log in to reply
2 replies to this topic

#1 Lorian

Lorian
  • Members
  • PipPip
  • Member
  • 19 posts
  • LocationUnited Kingdom

Posted 23 October 2005 - 07:04 PM

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
Chris Spencer [ aka Lorian ]

[span style=\'font-size:8pt;line-height:100%\']PHP Freaks Community Member
Contact me: corrosivechris (at) gmail d0t com[/span]

#2 shoz

shoz
  • Staff Alumni
  • Advanced Member
  • 600 posts

Posted 23 October 2005 - 07:33 PM

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

#3 Lorian

Lorian
  • Members
  • PipPip
  • Member
  • 19 posts
  • LocationUnited Kingdom

Posted 23 October 2005 - 07:50 PM

Ah, misconfigured firewall, heh, didn't think of that. It is working now, cheers :)
Chris Spencer [ aka Lorian ]

[span style=\'font-size:8pt;line-height:100%\']PHP Freaks Community Member
Contact me: corrosivechris (at) gmail d0t com[/span]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users