Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Apache server in my own computer, I can access it through http://localhost and Both show me It works in the webpage. When my peer trying to connect to my Apache through, the browser seems refuse to connect to my Apache.

I usually develop my web app using localhost to test out the result, may I know how can I let my peer to connect to my Apache so that there can look at the result from my local PC without deploy it to the server?

share|improve this question

migrated from Dec 19 '11 at 17:28

This question came from our site for system and network administrators.

Testing with http://localhost doesn't really test what you want. Test with your local IP address, like (or whatever). That will at least make sure your web server is listening to the right address. – David Schwartz Dec 19 '11 at 11:40

most common cause is firewall blocking the connection, to know for sure though you need to more info, eg. can the peer ping the ip address of your machine? do you get a specific error message in ie when trying to access the page, does anything show in your apache logs, etc.

share|improve this answer
My peer's computer can ping my IP, and the IE is showing the message "web page can not be display". The Apache error.log is showing favicon.ico does not exist. – huahsin68 Dec 20 '11 at 2:13

What is "your peer"? Is it a computer on the same network ? On the internet ? What ?

In the former case, a firewall blocking port 80 is the most likely cause.
If you're trying to access it from outside your own network, look at your router.

share|improve this answer
FYI, it is within the same network. I have tested to use different port number for Apache, it still showing the page can not be display error in the web page. BTW, I don't know how to check whether the port is being blocked? – huahsin68 Dec 20 '11 at 2:16
to test your ability to access a port on a remote machine, try using a port sniffer (, wireshark tends to be popular on here though i've not used any myself yet. – PrivateSniper Dec 20 '11 at 14:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .