ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Web server can connect locally but cannot remotely
Date:   2007-05-30 22:05:15
From:   Zugmeister
Response to: Web server can connect locally but cannot remotely

Something this article doesn't mention (I think because it would muddy the water a bit and take the wind out of the writers sails) is that a residential connection will commonly BLOCK outgoing traffic on port 80, or web service going out. If you really want to host your own site from home, look into getting a SOHO account or just call your ISP and ask them why your web service isn't getting out. Something else you may need to do is set up your router so that any requests made on port 80 (web) get routed to the computer on your network that's serving the pages. This is often called "port forwarding" and can be used to get around the port 80 block.