#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    1
    Rep Power
    0

    Localhost locally working; outside not working.


    Hi,

    I am using IIS 5.1 on WinXP on a home computer. I also have .NET framework 1.1 installed. If I type:

    http://localhost
    http://127.0.0.1
    http://169.254.x.x
    http://fullcomputername

    they all work fine .. and all display default.aspx.

    But if I ask friends to access http://169.254.x.x, they get the message "could not connect to server".
    I have SBC DSL connection and 169.254.x.x is Ethernet Adapter Lan IP address.
    WinXP's Internet connection firewall is disabled (in Network connections).
    Under IIS snap-in -> Default Web Site has IP address set to (All Unassigned) and TCP Port is 80.
    Under IIS snap-in -> Directory Security -> Authentication Methods, 'Anonymous Access' and 'Integrated Windows Authentication' are checked/enabled.

    In Control Panel -> Administrative Tools -> Services, I have some services disabled and some are set at manual. I don't know if there's anything there that can affect this problem.

    I am just curious if there is a setting somewhere that need to be set/reset in order to access my localhost page from outside.

    Any help is appreciated. Thanks in advance.

    Sincerely,
    Jaggi

    The error came back as:
    -----------------------------------------------------
    The page cannot be displayed.
    The page you are looking for is currently unavailable. The Web site might be experiencing

    technical difficulties, or you may need to adjust your browser settings.

    Please try the following:

    Click the Refresh button, or try again later.

    If you typed the page address in the Address bar, make sure that it is spelled correctly.

    To check your connection settings, click the Tools menu, and then click Internet Options.

    On the Connections tab, click Settings. The settings should match those provided by your

    local area network (LAN) administrator or Internet service provider (ISP).

    If your Network Administrator has enabled it, Microsoft Windows can examine your network

    and automatically discover network connection settings.
    If you would like Windows to try and discover them,
    click Detect Network Settings

    Some sites require 128-bit connection security. Click the Help menu and then click About

    Internet Explorer to determine what strength security you have installed.

    If you are trying to reach a secure site, make sure your Security settings can support it.

    Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the

    Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.

    Click the Back button to try another link.

    Cannot find server or DNS Error
    Internet Explorer
    -----------------------------------------------------
  2. #2
  3. Retired Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2004
    Location
    London, UK
    Posts
    6,669
    Rep Power
    147
    Firstly you say:

    Originally Posted by gulzarjaggi
    I have SBC DSL connection and 169.254.x.x is Ethernet Adapter Lan IP address.
    To access your website from externally, outside of your network, you must use your external IP address, not your LAN IP Address. Go to www.whatismyip.com to find your external IP address. This is what your friend needs to type to access your computer.

    Secondly, how do you connect to the Internet. If it is through a router, you need to configure the router from the web admin pages to setup port forwarding, to forward all requests for TCP port 80 to the internal ip address of your computer. Once you have done this, go to www.grc.com and select Shields Up (about halfway down). Click Proceed, and select the "Common Ports" option. Check that Port 80 is open.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    3
    Rep Power
    0
    THe 169 ip is an autoconfiguration IP address assigned by windows. If your system has the 169.254 ip it's not even getting an ip from your router cable modem whatever. So say your computer is connected direct to the internet through cable. 1st make sure you can view web pages from the internet. If you can then go to www.whatismyip.com give your friends the ip off that page (make sure ie is not set to autodetect settings under connections lan settings or the ip you get will be the proxy of your isp and not your acutal machine) YOUr host may have blocked port 80 inbound which I serously doubt but you can change the port for your default web site to like 8100 so then when your friends test it they can got to http://yourip:whateverportyouset eg. http://24.150.245.150:8188. MOstly i think it's beacuse youre giving them the windows autoconfig ip and not your real IP. Also I would renable your xp firewall and only let in the ports you want. ie 80 8100 whatever. If you want to emai me i could help you test it out.

    http://169.254.x.x
    http://fullcomputername

    they all work fine .. and all display default.aspx.

    But if I ask friends to access http://169.254.x.x, they get the message "could not connect to server".
    I have SBC DSL connection and 169.254.x.x is Ethernet Adapter Lan IP address.
    WinXP's Internet connection firewall is disabled (in Network connections).
    Under IIS snap-in -> Default Web Site has IP address set to (All Unassigned) and TCP Port is 80.
    Under IIS snap-in -> Directory Security -> Authentication Methods, 'Anonymous Access' and 'Integrated Windows Authentication' are checked/enabled.

    In Control Panel -> Administrative Tools -> Services, I have some services disabled and some are set at manual. I don't know if there's anything there that can affect this problem.

    I am just curious if there is a setting somewhere that need to be set/reset in order to access my localhost page from outside.

    Any help is appreciated. Thanks in advance.

    Sincerely,
    Jaggi

    The error came back as:
    -----------------------------------------------------
    The page cannot be displayed.
    The page you are looking for is currently unavailable. The Web site might be experiencing

    technical difficulties, or you may need to adjust your browser settings.

    Please try the following:

    Click the Refresh button, or try again later.

    If you typed the page address in the Address bar, make sure that it is spelled correctly.

    To check your connection settings, click the Tools menu, and then click Internet Options.

    On the Connections tab, click Settings. The settings should match those provided by your

    local area network (LAN) administrator or Internet service provider (ISP).

    If your Network Administrator has enabled it, Microsoft Windows can examine your network

    and automatically discover network connection settings.
    If you would like Windows to try and discover them,
    click Detect Network Settings

    Some sites require 128-bit connection security. Click the Help menu and then click About

    Internet Explorer to determine what strength security you have installed.

    If you are trying to reach a secure site, make sure your Security settings can support it.

    Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the

    Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.

    Click the Back button to try another link.

    Cannot find server or DNS Error
    Internet Explorer
    -----------------------------------------------------[/QUOTE]

IMN logo majestic logo threadwatch logo seochat tools logo