Why Would/How Could Ports Refuse to Open? Solved

Page 3 of 4 FirstFirst 1234 LastLast
  1.    28 Sep 2017 #21

    BTW .. what's the make/model of your router ?
      My ComputersSystem Spec

  2.    28 Sep 2017 #22

    Eagle51 said: View Post
    As long as your not trying to run both IIS Web Servers at the same time, then you can have both listen on port 80. You would have to adjust your port forwarding for port 80 to the correct internal IP. I would still set the binding for the internal IP of the given machine and not use the *.

    Note: Been while since I've used IIS, but just stopping/starting and/or restarting IIS after making changes wasn't enough for it to pick up the changes, I had to restart the PC.
    Yes, I'll believe that. A fairly common nuisance, eh? But the binding took according to 'localhost:81' which worked.

    But the overall problem didn't go away. I've switched that other machine off now, anyway.



    in another place where I'm looking for help with this i'm told we can have as many IIS instances listening on 80 as we like.... What Ports To Use For My IIS? : The Official Microsoft IIS Forums
      My ComputerSystem Spec

  3.    28 Sep 2017 #23

    Eagle51 said: View Post
    BTW .. what's the make/model of your router ?
    It is local to Australia - a TG800vac. 'Telstra Gateway'. They're a rebadged something but I don't know what.
      My ComputerSystem Spec

  4.    28 Sep 2017 #24

    Ok, and in your router port forwarding, you changed the wan & lan port to 81 for the internal ip of the running web server ?

    Edit: Have you double check windows firewall incoming rules ... to make sure port 80 and/or 81 is set/enabled ?
      My ComputersSystem Spec

  5.    28 Sep 2017 #25

    The router port forwarding rule looks like this:

    Name. Wan Port Lan Port. Device. Address.
    3300 3300 80 mac address.

    And it doesn't work. netstat shows packets getting to 'syn_sent'

    now if I change that to:

    Name. Wan Port Lan Port. Device. Address.
    3300 3300 80 mac address.

    then it works. and netstat on that machine will show 'established'
      My ComputerSystem Spec

  6.    28 Sep 2017 #26

    hmmmm..... the wan and lan port should be the same port number. So if your wanting to use port 80, it would be
    Name | Wan Port | Lan Port | Device | Address
    HTTP | 80 | 80 | 10.0.0.XX

    Note: XX is the internal ip of the running web server

    Edit: Also double check your bindings so it's 10.0.0.XX port 80
      My ComputersSystem Spec

  7.    28 Sep 2017 #27

    no mate, I keep telling you - it works fine on the other machine.

    it worked fine here previously but just in case i've lost my mind and my memory there's the other machine right there here and now today using exactly that configuration, those rules and they work.....

    my understanding is:

    a router gets a packet addressed to it with a port number, too.
    it checks the port number against its 'port forwarded' list.
    if it finds it then it looks to see what device and what port it should send the packet to.
    that device is named in the port forwarding rule, named by its local IP - I showed an example of
    and the port to be used on that device is also named - port 80 in my example rule.

    and right here is where you and I differ. You are saying it should be the same as the WAN port.
    But why?
    On the local machine you need an application 'listening' to that port.
    The application we're talking about in this instance is IIS.
    And IIS has a 'binding' which we've talked about or this thread has talked about and which is by default port 80.
    That's where IIS 'listens'.

    So the packet has to be sent to that port - port 80.

    If I change IIS bindings to say 81, as I just did a while ago for demo and thorough checking purposes, then the rule must be amended to quote port 81 as the lan port and the URL 'localhost' must be amended to 'localhost:81'

    Why doesn't it need 'localhost:80' normally? Because port 80 is the default for http traffic.

    Now if it were something different, another app, perhaps a game, perhaps say Minecraft, then it would listen on a different port. I think Minecraft uses something like 25565.

    So on the computer Minecraft is listening for Minecraft type packets (which probably only it can understand) on port 25565. And so we have to set the lan port at 25565.

    And we find the WAN port is also 25565. Why? Because for convenience Minecraft packets all have the same port number attached: 25565. So they come into the router and it sees 25565.
    It looks on its forwarding list and sees it.
    And it sees a device address there too.
    And it sees a port number on that device - 25565.

    So yes. In that case they're the same. In that case and probably the majority of apps.

    But not in this case.

    As demonstrated by my second IIS installation on the second machine on the same lan receiving traffic without any problem at all.
      My ComputerSystem Spec

  8.    28 Sep 2017 #28

    Ok, ..... The way I see it, you've mapped wan/external port 3300 to lan/internal port 80. That's why, when you check it externally ... it shows port 80 as closed (port 3300 would show open I bet) and why localhost:80 works as it's internal and IIS picks it up cause that's the binding you set in IIS.

    Edit: It's easy to check with your current 3300 to 80, have you tried your external IP with port 3300 to see if it connects ?
      My ComputersSystem Spec

  9.    28 Sep 2017 #29

    Yes. That's what I've been doing all along. Constantly.
    You don't believe me.
    I can't show you on this machine but this machine won't work - that's what the whole thread is about.
    But the other machine. I'll go switch it back on.
    I'll create a rule 3300 to 80 on that machine.
    I'll give you my IP and you can enter IP + port and you'll see that index page.

    There, it's done.
    IP is Port is 3300

    go for it. :)
      My ComputerSystem Spec

  10.    29 Sep 2017 #30

    DUH ... I totally misunderstood, sorry about that. You want it mapped that way ... lol ... I was thinking you wanted to use port 80 in the standard setup, which is what I always use. So, the only thing I can think of is to make sure port 3300 is added to firewall incoming rules or maybe some other process on that machine is using port 3300, both of which I think you've already checked
      My ComputersSystem Spec

Page 3 of 4 FirstFirst 1234 LastLast

Related Threads
Hello all, I just upgraded to Windows 10 recently, and so far (for the most part) it's working great! The only issue I have is that some windows won't focus and stay on top when I alt-tab to it or click it, like it did in all other versions of...
Is it possible to create a shortcut to Open Device Manager with the Ports branch expanded?
Taskbar icons refuse to group in General Support
Win10 pro 10240 Classic Start Menu Until recently the pinned icons and active programs would combine so that there was only one icon per program. Now the pinned icons and active ones are separate -- and filling up space. I checked the taskbar...
Solved Refuse driver updates in Windows 10? in Windows Updates and Activation
I just installed the leaked Windows 10 build 10051. Before this I had 9926 installed. I have a game called DayZ Standalone, it refused to launch on 9926. A friend said that updating to 10051 allowed him to launch the game. So I did a clean install....
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 12:19.
Find Us