Results 1 to 13 of 13

Thread: [RESOLVED] Access localhost from the web

  1. #1

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Resolved [RESOLVED] Access localhost from the web

    Hi all,
    Can anybody tell me or refer me to a good Article on "how to access my localhost website from the web"

    I'd be very grateful
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  2. #2
    Addicted Member darth vador's Avatar
    Join Date
    Jul 2005
    Posts
    148

    Re: Access localhost from the web

    Let me make sure I understand what you're saying.

    You have web server (IIS or MS Personal Web Server) setup on your pc. You can already access it from your the PC itself? (http:\\localhost)

    If so, you simply get your external IP Address. - You can go to whatismyip.com to get that.
    Then you simply go there with your browser.
    http:\\123.45.67.8 for example. (If 123.45.67.8 is your ip you see when you go to whatismyip.com)

    Now, if you're behind a router (say, you have a home network setup) you'll have to configure your router to let you in. It probably won't by default. If you just have one pc connected to the internet via DSL, cable etc... then it should work by simply going to your external IP Address.

    Also, your IP is probably a dynamic IP Address - which means it willl change often. So if you get the IP for the computer today, you can't be sure that it will have the same IP tomorrow - or even an hour from now. So if you want to connect to your home PC from your office pc, and you get to the office and go to your IP Address you got from whatismyip.com for your home PC, and you can't get to the PC, it may be that your ISP has changed the IP you're home PC was connected to since you have last checked your IP Address from home. So you won't be able to get there unless you can get someone at your house to log onto your pc and tell you the new IP Address.

    Hope that makes sense.

  3. #3
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Access localhost from the web

    Quote Originally Posted by darth vador
    Also, your IP is probably a dynamic IP Address - which means it willl change often. So if you get the IP for the computer today, you can't be sure that it will have the same IP tomorrow - or even an hour from now. So if you want to connect to your home PC from your office pc, and you get to the office and go to your IP Address you got from whatismyip.com for your home PC, and you can't get to the PC, it may be that your ISP has changed the IP you're home PC was connected to since you have last checked your IP Address from home. So you won't be able to get there unless you can get someone at your house to log onto your pc and tell you the new IP Address.
    For this part, you can use YahooMessanger/MSN.
    Creata a new account and login in your home PC with it. Add your original account in buddy list.

    Make a program that 'SendKeys' current IP in a private chat window. (check window caption to make sure it is from yourself). Keep it running in background.

    From your office PC login to your original account. PM your new account. The auto-responser program will send you the current ip of home PC.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  4. #4

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Access localhost from the web

    Quote Originally Posted by darth vador
    Let me make sure I understand what you're saying.

    You have web server (IIS or MS Personal Web Server) setup on your pc. You can already access it from your the PC itself? (http:\\localhost)

    If so, you simply get your external IP Address. - You can go to whatismyip.com to get that.
    Then you simply go there with your browser.
    http:\\123.45.67.8 for example. (If 123.45.67.8 is your ip you see when you go to whatismyip.com)

    Now, if you're behind a router (say, you have a home network setup) you'll have to configure your router to let you in. It probably won't by default. If you just have one pc connected to the internet via DSL, cable etc... then it should work by simply going to your external IP Address.

    Also, your IP is probably a dynamic IP Address - which means it willl change often. So if you get the IP for the computer today, you can't be sure that it will have the same IP tomorrow - or even an hour from now. So if you want to connect to your home PC from your office pc, and you get to the office and go to your IP Address you got from whatismyip.com for your home PC, and you can't get to the PC, it may be that your ISP has changed the IP you're home PC was connected to since you have last checked your IP Address from home. So you won't be able to get there unless you can get someone at your house to log onto your pc and tell you the new IP Address.

    Hope that makes sense.
    Thank you , it makes sense


    Quote Originally Posted by iPrank
    For this part, you can use YahooMessanger/MSN.
    Creata a new account and login in your home PC with it. Add your original account in buddy list.

    Make a program that 'SendKeys' current IP in a private chat window. (check window caption to make sure it is from yourself). Keep it running in background.

    From your office PC login to your original account. PM your new account. The auto-responser program will send you the current ip of home PC.
    Thank you very much, I'll try it
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Access localhost from the web

    Use DYNDNS for changing IP addresses.

  6. #6

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Access localhost from the web

    Quote Originally Posted by mendhak
    Use DYNDNS for changing IP addresses.
    What is that?
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  7. #7
    Junior Member
    Join Date
    Mar 2006
    Posts
    24

    Re: Access localhost from the web

    Quote Originally Posted by darth vador
    Let me make sure I understand what you're saying.

    You have web server (IIS or MS Personal Web Server) setup on your pc. You can already access it from your the PC itself? (http:\\localhost)

    If so, you simply get your external IP Address. - You can go to whatismyip.com to get that.
    Then you simply go there with your browser.
    http:\\123.45.67.8 for example. (If 123.45.67.8 is your ip you see when you go to whatismyip.com)

    Now, if you're behind a router (say, you have a home network setup) you'll have to configure your router to let you in. It probably won't by default. If you just have one pc connected to the internet via DSL, cable etc... then it should work by simply going to your external IP Address.

    Also, your IP is probably a dynamic IP Address - which means it willl change often. So if you get the IP for the computer today, you can't be sure that it will have the same IP tomorrow - or even an hour from now. So if you want to connect to your home PC from your office pc, and you get to the office and go to your IP Address you got from whatismyip.com for your home PC, and you can't get to the PC, it may be that your ISP has changed the IP you're home PC was connected to since you have last checked your IP Address from home. So you won't be able to get there unless you can get someone at your house to log onto your pc and tell you the new IP Address.

    Hope that makes sense.
    OMG dude u go take part in some obfuscated programming contest

  8. #8
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: Access localhost from the web

    Quote Originally Posted by ComputerJy
    What is that?
    In Wiki: http://en.wikipedia.org/wiki/Dyndns
    In Google: http://www.google.com/search?num=100...G=Search&meta=
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  9. #9
    Addicted Member darth vador's Avatar
    Join Date
    Jul 2005
    Posts
    148

    Re: Access localhost from the web

    Quote Originally Posted by midhat
    OMG dude u go take part in some obfuscated programming contest
    Huh??

  10. #10
    Junior Member
    Join Date
    Mar 2006
    Posts
    24

    Re: Access localhost from the web

    hey sry it wasnt for u. i wanted to quote the iprank message but accidently quoted this one

  11. #11
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Talking Re: Access localhost from the web

    Quote Originally Posted by midhat
    hey sry it wasnt for u. i wanted to quote the iprank message but accidently quoted this one
    Sorry for making things convoluted.
    I didn't know about Dyndns until Mendhak posted.
    Do you have any other suggesation ?
    Last edited by iPrank; Mar 16th, 2006 at 01:47 PM.
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  12. #12
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: Access localhost from the web

    For Dynamic IP use this: http://www.no-ip.com/

    It's free, and it's pretty good.

    Subscribe to that web-site, decide on your DNS name.
    Then install the program on your home computer (the computer you want to access from internet).

    And that's it, from that point on, you can access your computer using your DNS name, like this http://my_user_name.noip.com

    Ow, and also, make sure you alow port 80 through the firewall and router.

  13. #13

    Thread Starter
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Access localhost from the web

    It's really great

    Thank you very much!
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width