Why does the Browser Throw Up Localhost Page Instead of The IP Camera?


  1. Posts : 516
    win10
       #1

    Why does the Browser Throw Up Localhost Page Instead of The IP Camera?


    I recently added an IP camera. Had to change it from a 10.x.x.x net to the 192.168.x.x net we've got.

    Doing that I screwed things up a bit it seems.

    I had to change my computer IP to the 10.x.x.x net so's I could connect to it and change its IP.

    Then change mine back.

    But I got there. I gave it an IP and saw it there, saw the pics from it, with one of the bits of software I've got for that. Forget which one but it was working alright.

    But: when I put the url for it in my browser I get my localhost page !

    I have IIS and have an index.html page on localhost. It comes up instead of any sign of the IP cam.

    What could cause that?.
      My Computer


  2. Posts : 8,049
    windows 10
       #2

    Your either entering the wrong IP or you have local host set in the host file to the wrong IP
      My Computer


  3. Posts : 56,804
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #3

    192.168.x.x sounds very much like the router IP. Mine is 192.168.1.1

    Why does the Browser Throw Up Localhost Page Instead of The IP Camera?-2018-02-20_07h49_56.png
      My Computers


  4. Posts : 809
    Win10
       #4

    abrogard said:
    But: when I put the url for it in my browser I get my localhost page !

    I have IIS and have an index.html page on localhost. It comes up instead of any sign of the IP cam.
    What URL are you putting in?

    Can you open a command prompt, run the following commands, and paste the output to this thread?

    Code:
    type C:\windows\system32\drivers\etc\hosts
    ipconfig
      My Computer


  5. Posts : 516
    win10
    Thread Starter
       #5

    I am inputting the url 192.168.0.66 which is supposed to be the url of the camera.

    Here's ipconfig etc:



    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost

    C:\Users\dchaw>ipconfig

    Windows IP Configuration


    Ethernet adapter Ethernet:

    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :

    Ethernet adapter Npcap Loopback Adapter:

    Connection-specific DNS Suffix . :
    Link-local IPv6 Address . . . . . : fe80::f97c:4de1:c6be:d643%14
    Autoconfiguration IPv4 Address. . : 169.254.214.67
    Subnet Mask . . . . . . . . . . . : 255.255.0.0
    Default Gateway . . . . . . . . . :

    Wireless LAN adapter Local Area Connection* 1:

    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :

    Ethernet adapter Ethernet 2:

    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :

    Wireless LAN adapter Wi-Fi:

    Connection-specific DNS Suffix . : gateway
    IPv6 Address. . . . . . . . . . . : 2001:8003:a02d:cc00:65ee:2e50:6dc:657d
    IPv6 Address. . . . . . . . . . . : fdc5:2321:9561:0:65ee:2e50:6dc:657d
    Temporary IPv6 Address. . . . . . : 2001:8003:a02d:cc00:f480:8bb9:3d5a:c166
    Temporary IPv6 Address. . . . . . : fdc5:2321:9561:0:f480:8bb9:3d5a:c166
    Link-local IPv6 Address . . . . . : fe80::65ee:2e50:6dc:657d%2
    IPv4 Address. . . . . . . . . . . : 192.168.0.40
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : fe80::a691:b1ff:fe32:8c2e%2
    192.168.0.1

    Tunnel adapter Local Area Connection* 10:

    Connection-specific DNS Suffix . :
    IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6abd:2cca:1bb9:9a58:510b
    Link-local IPv6 Address . . . . . : fe80::2cca:1bb9:9a58:510b%12
    Default Gateway . . . . . . . . . :

    C:\Users\dchaw>ipconfig


    I got yesterday and again this morning no IPv4 and had to go the network thing and uncheck and recheck it to get it working.

    Prior to fixing that I'd do a google search and get a lit of hits but could not go to any one of the links. I'd get a messed that the browser (firefox or opera) was having trouble getting that page.

    Something is somewhat screwed with my setup.

    And that setup is an nbn wifi/ethernet modem/router with all our home lan machines wifi connected to it.

    via ethernet there is one IP camera connected via a PoE switch.

    There is another IP camera intended to connect via wifi and it too has a 10.x.x.x address right now. It's on the back burner until I get this one sorted out.
      My Computer


  6. Posts : 8,049
    windows 10
       #6

    Are you sure the camera saved the IP can you ping it or connect via another PC. Does it have special software to connect to it?
      My Computer


  7. Posts : 516
    win10
    Thread Starter
       #7

    Well I don't know what I did but I've fixed it. I did shut down and restart the router because someone suggested it was a router thing.

    I don't know that I did anything else. I was poking around in the network adapter configuration thing - like I said had to restart the ipv4 there - but I don't know I did anything else.

    The gateway IP was missing so I input that. Got a message about having two gateways or somesuch, was I sure I wanted to do it? I didn't understand so I just said 'yes' and went ahead. Maybe that fixed it?

    I was also getting that if I googled something I'd get a list of hits, you know, but if I clicked on any one of them I'd get an error that it couldn't find the page. That's fixed now, too.

    Sorry it has turned out such a vague uncertain thing and thanks for trying to help.

    :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:13.
Find Us




Windows 10 Forums