none
Port forwarding will not remain open RRS feed

  • Question

  • Synopsis:
    Forwarding of port 81 to a static IP address configured in a Hyper-V Ubuntu server will not remain open.

    Setup:
    A Windows 10 Pro (build 18362.175) hosts a Hyper-V (100.0.18362.1) Ubuntu 18.04 server running Apache/2.4.39 listening on port 81. A Hyper-V virtual switch is configured as a wireless network adapter on the host Windows system. The Ubuntu server's Ethernet is configured with a static IP address of 192.168.222. A Netgear R6250 router is configured to forward port 81 to IP address 192.168.222:81. Appropriate server settings are set so that the host can use a web browser to view the site on the VM at 192.168.222:81.

    A No-IP free ddns account is configured to forward projectmana.ddns.net http requests to the public IP address reported by its service running on the Windows system. The status of port 81 for the public IP address is checked with No-IP's port check tool (http://portchecktool.com).

    Observations:
    The port will not remain open. The public IP has remained constant for more than 48 hours. It is also true that no periodic refreshing (either by the router or No-IP's Windows service) is running. In short there is no evident mechanism that causes the port to be blocked. If the port is reported as blocked it can be opened by either turning on the installed No-IP Windows service or by clicking on Apply in the router's DDNS screen. Leaving either of these services on or off has no effect on whether the port becomes blocked. This suggests that neither the router or the No-IP service are responsible for the port becoming blocked while the public IP address remains constant.

    The problem also occurs with port 80.
    Friday, July 12, 2019 7:18 PM

Answers

  •  I believe the issue is just now resolved. The problem was using my wireless adapter as a bridge to a virtual machine. It took me a couple of days to think of stringing a long cable to the router to see what might happen. When I looked at adapter properties I saw that the wireless was offline. No wonder the port was down. Lesson learned. Hardwire from now on.
    • Marked as answer by TTrout Friday, July 12, 2019 9:28 PM
    Friday, July 12, 2019 9:28 PM

All replies

  • You can try checking results here.

    https://canyouseeme.org/

    or for issues with ubuntu OS I'd suggest asking in an ubuntu forum for help.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, July 12, 2019 7:29 PM
  • The link provided is functionally identical to the port check tool I reference.

    While I could cross-post I thought I'd start here since Hyper-V (& Windows) are next in the chain. Are you suggesting that neither Windows or Hyper-V could be the source of ports being blocked?

    Friday, July 12, 2019 8:25 PM
  •  I believe the issue is just now resolved. The problem was using my wireless adapter as a bridge to a virtual machine. It took me a couple of days to think of stringing a long cable to the router to see what might happen. When I looked at adapter properties I saw that the wireless was offline. No wonder the port was down. Lesson learned. Hardwire from now on.
    • Marked as answer by TTrout Friday, July 12, 2019 9:28 PM
    Friday, July 12, 2019 9:28 PM
  • The link provided is functionally identical to the port check tool I reference.

    While I could cross-post I thought I'd start here since Hyper-V (& Windows) are next in the chain. Are you suggesting that neither Windows or Hyper-V could be the source of ports being blocked?

    That's correct. Windows or hyper-v would not filter or firewall a hyper-v switch. 

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, July 12, 2019 10:04 PM