Menu

#76 Invalid Router Port

v1.0_(example)
open
None
1
2021-08-22
2021-08-13
Anonymous
No

Hello again!
I'm the same guy from two posts ago.
Like before, my portmapper stopped working roughly a year or two ago.
It seems to be something to do with my internet, as I tried it on two different computers and both had the exact same problem. I tried it on a laptop and a different issue occurred.

DEBUG Connected to router, get IP of localhost from socket...
DEBUG Get IP of localhost
DEBUG Got internal router port -1
DEBUG Got invalid internal router port number -1
DEBUG Not connected to router or got invalid port number, can not use socket to determine the address of the localhost. If no address is found, please connect to the router.
DEBUG Got address DESKTOP-Q5SA511/192.168.#.### via InetAddress.getLocalHost().

2 Attachments

Discussion

  • Christoph

    Christoph - 2021-08-20

    Hello Anonymous,
    What is the problem you are having? Screenshots an log are looking good. You can ignore the message about the invalid port number as long as 192.168.#.### is the correct internal IP address of your machine.

     

    Last edit: Christoph 2021-08-20
  • Anonymous

    Anonymous - 2021-08-21

    ok im confused now. when using upnp wizard it used to say it couldnt see a upnp device thing but now i can... except it still doesn't seem to be working. how could i check if it's working? i tried using a website (portchecker.co) but nothing. i tried hosting a server for my friend but they couldn't seem to join.

     
  • Christoph

    Christoph - 2021-08-22

    To test if port forwarding works, you could try the the following:
    Open your routers web interface and check if it shows the port mapping
    Start a server using the forwarded port and try accessing it from another host, e.g. a port checker service. Make sure the server is running on the correct port, else the port check will return an invalid result.

     

Anonymous
Anonymous

Add attachments
Cancel