Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 220.181.6.184,

but they can't browse it by http://220.181.6.184

How to enable this?

share|improve this question

migrated from serverfault.com Dec 25 '09 at 10:15

This question came from our site for professional 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 (www.portforward.com), to look up the model, and set port 80 to forward to your computer. –  Benjamin Schollnick Dec 25 '09 at 15:58

3 Answers 3

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: http://www.portforward.com/english/applications/port%5Fforwarding/Apache/Apacheindex.htm

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 : http://www.dyndns.com/

share|improve this answer