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

Possible Duplicate:
Allowing access to localhost page outside network?

I can visit my site by http://localhost

And I give my friend my ip address like,

but they can't browse it by

How to enable this?

share|improve this question

migrated from Dec 25 '09 at 10:15

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

marked as duplicate by random Mar 7 '12 at 17:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Your web server is likely configured to listen on localhost only. Which web server are you using, on which OS? – diciu Dec 25 '09 at 8:34
i too have the same question, i m using VS 2008, windows server, with router. What port do i need to open for it, is it same port 80 – Shantanu Gupta Dec 25 '09 at 9:04
I have a static ip – Shantanu Gupta Dec 25 '09 at 9:06
Your Cable modem or DSL router have a static IP. You need to take a look at your cable modem or DSL router, and let us know what model / manufacturer it is. Or use PortForward (, to look up the model, and set port 80 to forward to your computer. – Benjamin Schollnick Dec 25 '09 at 15:58

You need to set up port forwarding to Port 80 in your DSL router (provided a DSL router is running).

share|improve this answer
added comment, plz answer for that too – Shantanu Gupta Dec 25 '09 at 9:13

If you are behind a router, you will have to forward port 80 to your computer's internal IP address. See this guide:

Your question does not really describe your current setup in any detail at all.

share|improve this answer
added comment, plz answer for that too – Shantanu Gupta Dec 25 '09 at 9:13

You could use Dynamic DNS softwares. Essentially install a software that will contact the server and figure out your local IP, and then provide a internet address to access it. There are many service providers out there, dont really know who is the best. Here is ony I found :

share|improve this answer