none
IIS website bind to 127.0.0.1 but always shows 0.0.0.0 RRS feed

  • Question

  • Hi all,

    Hope someone could help me with this strange problem.

    I have a IIS website and bind it to 127.0.0.1. Whenever I type in 'netstat' to check its IP, it always shows 0.0.0.0 instead of 127.0.0.1

    • Edited by Link.F.Zaro Wednesday, November 2, 2016 2:41 PM
    Friday, October 21, 2016 3:23 AM

All replies

  • Hi Link,

    Could you share us more information about your issue? What is your windows system? How did you run this command? How did you bind your ip to site? Did you host your web site in IIS? I checked this link Netsh commands for Interface IP, but I did not find any similar command.

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 24, 2016 8:07 AM
  • I don't have a clue as to what you are taking about, and 0.0.0.0 is a reserved low port that you should not be using.

    https://en.wikipedia.org/wiki/Registered_port

    Monday, October 24, 2016 9:10 PM
  • I don't have a clue as to what you are taking about, and 0.0.0.0 is a reserved low port that you should not be using.

    https://en.wikipedia.org/wiki/Registered_port


    My bad, I somehhow related what you are taking about as port numbers. You do now what 170.0.0.1 is, right, the  loop back IP?
    Monday, October 24, 2016 9:58 PM
  • OS:Win2008R2SP1

    IIS have threes sites:SiteA、SiteB、SiteC

    SiteA Bindings:

    Type——Port——IPAddress——Binding Information

    http——80——*——

    https——443——*——

    net.pipe—— —— ——localhost

    SiteB Bindings:

    Type——Port——IPAddress——Binding Information

    http——980——127.0.0.1——

    https——9443——*——

    SiteC Bindings:

    Type——Port——IPAddress——Binding Information

    http——8082——127.0.0.1——

    https——8043——*——

    Then, CMD>netstat -aon | findstr :980

    C:\Users\Administrator>netstat -aon | findstr :980
      TCP    0.0.0.0:980            0.0.0.0:0              LISTENING       4
      TCP    [::]:980               [::]:0                 LISTENING       4

    So,Why show binding 0.0.0.0:980, not 127.0.0.1:980?

    Tuesday, October 25, 2016 2:30 AM
  • Um, 0.0.0.0 is AN IP ADDRESS. How can you say he is bound to a port he should not be using???

    He said "

    IIS website bind to 127.0.0.1 but always shows 0.0.0.0"

    It's an IP ISSUE!! I've seen the same <g class="gr_ gr_53 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="53" id="53">thing .</g> Trying to find the thing that is LISTENING on 0.0.0.0:80  you know, a WEBSITE

    Thursday, December 28, 2017 3:59 AM