networking - UDP port binding to loopback interface

07
2014-07
  • Shadark

    I've been trying to play a video game in multiplayer, but after trying a lot of time, I begun to realize there was some problem with my loopback interface (Windows 7)

    I have UPnP activated in my router, ports forwarded (the one being relevant to the post is 9000 UDP) and I even put myself in the DMZ.

    With that being said, apparently there's some bad configuration somewhere, and the port 9000 binds to 127.0.0.1 and doesn't send/receive any package.

    note added by barlop [9388 is the PID of the game, as you can see it uses TCP port 443 and UDP ports 9100 and 9000, port 9000 on 127.0.0.1 ]

    C:\Users\#####>netstat -ano | findstr 9388
    TCP 192.168.0.205:50415 216.98.48.206:443 ESTABLISHED 9388
    TCP 192.168.0.205:50416 216.98.48.206:443 ESTABLISHED 9388
    TCP 192.168.0.205:50417 216.98.48.206:443 ESTABLISHED 9388
    TCP 192.168.0.205:50418 216.98.48.206:443 ESTABLISHED 9388
    TCP 192.168.0.205:50419 216.98.48.206:443 ESTABLISHED 9388
    UDP 0.0.0.0:9103 *:* 9388
    UDP 127.0.0.1:9000 *:* 9388
    

    That's what netstat outputs when trying to join that multiplayer game (9388 being the PID of the process). Apparently, the game uses also port 9103 UDP but instead binding to loopback, binds to 0.0.0.0 and sends/receive packages correctly.

    I also think there's something wrong with my interfaces because this program (UPnPTest), when executed, says that "Interface #0: 127.0.0.1" failed the test (at test 7) but no more interfaces appear, but when executed in my laptop, all my network interfaces appear.

    Tried resseting all my network interfaces, disabling every network adapter except the one being used to connect (external USB adapter), redoing route tables, but nothing seems to work (at least in UPnPTest no more interfaces appear). I'm having quite the headache with this since it's not only for the videogame, but about knowing what's happening with the loopback interface.

    This is the route print output:

    ===========================================================================
    ILista de interfaces
     39...00 c0 ca 75 d0 0b ......Atheros AR9271 Wireless Network Adapter
     45...06 c0 ca 75 d0 0b ......Microsoft Virtual WiFi Miniport Adapter #6
     16...00 22 f7 2a 4b f1 ......Tarjeta LAN inal mbrica 802.11n
      1...........................Software Loopback Interface 1
     27...00 00 00 00 00 00 00 e0 Adaptador ISATAP de Microsoft
     56...00 00 00 00 00 00 00 e0 Adaptador ISATAP de Microsoft #2
     50...00 00 00 00 00 00 00 e0 Adaptador ISATAP de Microsoft #3
     26...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
    ===========================================================================
    
    IPv4 Tabla de enrutamiento
    ===========================================================================
    Rutas activas:
    Destino de red        M scara de red   Puerta de enlace   Interfaz  M‚trica
              0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.117    281
            127.0.0.0        255.0.0.0      En v¡nculo         127.0.0.1    306
            127.0.0.1  255.255.255.255      En v¡nculo         127.0.0.1    306
      127.255.255.255  255.255.255.255      En v¡nculo         127.0.0.1    306
          192.168.0.0    255.255.255.0      En v¡nculo     192.168.0.117    281
        192.168.0.117  255.255.255.255      En v¡nculo     192.168.0.117    281
        192.168.0.255  255.255.255.255      En v¡nculo     192.168.0.117    281
            224.0.0.0        240.0.0.0      En v¡nculo         127.0.0.1    306
            224.0.0.0        240.0.0.0      En v¡nculo     192.168.0.117    281
      255.255.255.255  255.255.255.255      En v¡nculo         127.0.0.1    306
      255.255.255.255  255.255.255.255      En v¡nculo     192.168.0.117    281
    ===========================================================================
    Rutas persistentes:
      Direcci¢n de red  M scara de red  Direcci¢n de puerta de enlace  M‚trica
              0.0.0.0          0.0.0.0      192.168.0.1  Predeterminada 
    ===========================================================================
    
    IPv6 Tabla de enrutamiento
    ===========================================================================
    Rutas activas:
     Cuando destino de red m‚trica      Puerta de enlace
     26     58 ::/0                     En v¡nculo
      1    306 ::1/128                  En v¡nculo
     26     58 2001::/32                En v¡nculo
     26    306 2001:0:5ef5:79fd:1ceb:1429:3f57:ff8a/128
                                        En v¡nculo
     39    281 fe80::/64                En v¡nculo
     26    306 fe80::/64                En v¡nculo
     26    306 fe80::1ceb:1429:3f57:ff8a/128
                                        En v¡nculo
     39    281 fe80::e517:ac71:4d99:c51a/128
                                        En v¡nculo
      1    306 ff00::/8                 En v¡nculo
     26    306 ff00::/8                 En v¡nculo
     39    281 ff00::/8                 En v¡nculo
    ===========================================================================
    Rutas persistentes:
      Ninguno
    

    And my interface report, generated by NetRouteView:

    Interface Information
    ====================================================================================================
    Admin Status    IF Index  Address                 Type          Speed       Oper Status     Description
    disabled        0x2                               Other         1073741824  non-operational WAN Miniport (SSTP)
    disabled        0x3                               Other         1073741824  non-operational WAN Miniport (L2TP)
    disabled        0x4                               Other         1073741824  non-operational WAN Miniport (PPTP)
    disabled        0x5                               PPP           1073741824  non-operational WAN Miniport (PPPOE)
    disabled        0x6       3C-26-20-52-41-53       Ethernet      1073741824  non-operational WAN Miniport (IPv6)
    disabled        0x7       3C-26-20-52-41-53       Ethernet      1073741824  non-operational WAN Miniport (Network Monitor)
    disabled        0x8       3C-26-20-52-41-53       Ethernet      1073741824  non-operational WAN Miniport (IP)
    enabled         0x9       20-41-53-59-4E-FF       PPP           1073741824  operational     RAS Async Adapter
    disabled        0xA       00-00-00-00-00-00-00-00 Other         0           non-operational WAN Miniport (IKEv2)
    disabled        0xB       00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    disabled        0xC       00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    disabled        0xD       00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    disabled        0xE       00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    disabled        0xF       00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    enabled         0x10      00-22-F7-2A-4B-F1       Other         0           non-operational Tarjeta LAN inal mbrica 802.11n
    disabled        0x11      00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    disabled        0x12      00-00-00-00-00-00-00-E0 Other         0           non-operational Teredo Tunneling Pseudo-Interface
    disabled        0x13      F4-6D-04-AD-60-60       Ethernet      0           non-operational Realtek PCIe GBE Family Controller
    disabled        0x14      00-C0-CA-52-6E-EA       Other         0           non-operational Realtek RTL8187 Wireless 802.11b/g 54Mbps USB 2.0 Network Adapter
    enabled         0x15      00-C0-CA-75-D0-0B       Other         65000000    operational     Atheros AR9271 Wireless Network Adapter-Native WiFi Filter Driver-0000
    disabled        0x16      06-C0-CA-75-D0-0B       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #2
    disabled        0x17      00-26-83-19-5C-ED       Ethernet      0           non-operational Dispositivo Bluetooth (Red de  rea personal)
    disabled        0x18                              Other         0           non-operational Dispositivo Bluetooth (TDI protocolo RFCOMM)
    disabled        0x19      00-A0-C6-00-00-00       Other         0           non-operational ZTE Mobile Broadband Network Adapter
    enabled         0x1A      00-00-00-00-00-00-00-E0 Other         100000      operational     Teredo Tunneling Pseudo-Interface
    enabled         0x1B      00-00-00-00-00-00-00-E0 Other         100000      non-operational Adaptador ISATAP de Microsoft
    enabled         0x1C      00-00-00-00-00-00-00-E0 Other         100000      non-operational Adaptador ISATAP de Microsoft-Netmon Lightweight Filter Driver-0000
    disabled        0x1D      00-22-F7-2A-4B-F0       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #5
    enabled         0x1E      00-C0-CA-75-D0-0B       Other         65000000    operational     Atheros AR9271 Wireless Network Adapter-QoS Packet Scheduler-0000
    enabled         0x1F      00-C0-CA-75-D0-0B       Other         65000000    operational     Atheros AR9271 Wireless Network Adapter-WFP LightWeight Filter-0000
    enabled         0x20      00-00-00-00-00-00-00-E0 Other         100000      operational     Teredo Tunneling Pseudo-Interface-Netmon Lightweight Filter Driver-0000
    enabled         0x21      00-C0-CA-75-D0-0B       Other         65000000    operational     Atheros AR9271 Wireless Network Adapter-Netmon Lightweight Filter Driver-0000
    enabled         0x22      00-C0-CA-75-D0-0B       Other         65000000    operational     Atheros AR9271 Wireless Network Adapter-Virtual WiFi Filter Driver-0000
    enabled         0x23      00-22-F7-2A-4B-F1       Other         0           non-operational Tarjeta LAN inal mbrica 802.11n-Native WiFi Filter Driver-0000
    enabled         0x24      00-22-F7-2A-4B-F1       Other         0           non-operational Tarjeta LAN inal mbrica 802.11n-QoS Packet Scheduler-0000
    enabled         0x25      00-22-F7-2A-4B-F1       Other         0           non-operational Tarjeta LAN inal mbrica 802.11n-WFP LightWeight Filter-0000
    enabled         0x26      00-22-F7-2A-4B-F1       Other         0           non-operational Tarjeta LAN inal mbrica 802.11n-Netmon Lightweight Filter Driver-0000
    enabled         0x27      00-C0-CA-75-D0-0B       Other         65000000    operational     Atheros AR9271 Wireless Network Adapter
    enabled         0x28      00-22-F7-2A-4B-F1       Other         0           non-operational Tarjeta LAN inal mbrica 802.11n-Virtual WiFi Filter Driver-0000
    enabled         0x2D      06-C0-CA-75-D0-0B       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #6
    enabled         0x2E      06-C0-CA-75-D0-0B       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #6-Native WiFi Filter Driver-0000
    enabled         0x2F      06-C0-CA-75-D0-0B       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #6-QoS Packet Scheduler-0000
    enabled         0x30      06-C0-CA-75-D0-0B       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #6-WFP LightWeight Filter-0000
    enabled         0x31      06-C0-CA-75-D0-0B       Other         0           non-operational Microsoft Virtual WiFi Miniport Adapter #6-Netmon Lightweight Filter Driver-0000
    enabled         0x32      00-00-00-00-00-00-00-E0 Other         100000      non-operational Adaptador ISATAP de Microsoft #3
    enabled         0x33      00-00-00-00-00-00-00-E0 Other         100000      non-operational Adaptador ISATAP de Microsoft #3-Netmon Lightweight Filter Driver-0000
    enabled         0x38      00-00-00-00-00-00-00-E0 Other         100000      non-operational Adaptador ISATAP de Microsoft #2
    enabled         0x39      00-00-00-00-00-00-00-E0 Other         100000      non-operational Adaptador ISATAP de Microsoft #2-Netmon Lightweight Filter Driver-0000
    
  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    networking - What typically uses port 44380?
  • eleven81

    A company just asked me to open port 44380 in my firewall so that their software could work.

    This made me wonder... what is the customary use for port 44380?


  • Related Answers
  • Sathya

    According to IANA port assignments, 44380 is in the unassigned range. Maybe some custom software uses it for communication

    pmcdproxy      44322/udp   PCP server (pmcd) proxy
    
                   44323-44552 Unassigned
    

    Can't find any entry for the same in Wikipedia either

  • akira

    they could have asked you to open 44379 or 44381 as well. there is no .. real reason behind their question. they just need an open port.

  • John T

    Probably just their custom software needs that port. I don't see any software that is IANA registered for that port.