kaklakariada / portmapper

A tool for managing port forwardings via UPnP
GNU General Public License v3.0
685 stars 90 forks source link

Got null port mapping for index 0 #127

Closed caiknori closed 3 weeks ago

caiknori commented 7 months ago
DEBUG Connected to router, get IP of localhost from socket...
DEBUG Get IP of localhost
DEBUG Got internal router port 5555
DEBUG Creating socket to router: 192.168.1.1:5555...
DEBUG Got address /192.168.1.5 from socket.
INFO  3 port mapping added successfully
DEBUG Getting port mapping 0...
DEBUG Entry 0 does not exist, stop getting more mappings
DEBUG Got null port mapping for index 0
INFO  Found 0 mappings

Using router AOT-4221SR

kaklakariada commented 6 months ago

Hi @caiknori , the log message Got null port mapping for index 0 is normal when the router does not return a port mapping. Please try the steps in the troubleshooting section.

caiknori commented 6 months ago

Sorry for not replying; but which steps exactly? Theres no clear steps relating to my Issue.

kaklakariada commented 6 months ago

You didn't specify the problem you have. From the log I assumed you wanted to create three mappings but they don't show up in Portmapper.

The link I sent shows possible ways to fix creating the mappings.

When you exactly describe your problem, it's easier for me to help you solve it.

kaklakariada commented 3 weeks ago

I am closing this. If the problem still exists feel free to re-open this issue.