Hi! thanks for trying out my tool! To run Portmapper please install Java and then run the jar file as is (not unpacked) as described in the user guide: https://github.com/kaklakariada/portmapper?tab=readme-ov-file#install-java
What command did you run? Ensure that the file is available in your current working directory.
not working
Please try to start portmapper from the command line using the following command: java -jar portmapper.jar Please send the error message.
PortMapper 2.2.3 released
Mapping preset not working
WARN Could not connect to router: Did not find a router
Thank you for your feedback!
It looks like your router did not add the mappings you created. Please check if managing port mappings via UPnP is enabled in your router or try another UPnP library.
It looks like your router did not add the mappings you created. Please check if managing port mappings via UPnP is enabled in your router.
Did you execute the command with the double quotes (")? They should not be necessary and could cause a problem. Was there any command output? If the computer shuts off this is likely a problem with the computer, not with portmapper. Can you try it on another computer?
Did you execute the command with the double quotes (")? They should not be necessary and could cause a problem. Was there any command output? If the computer shuts off this is likely a problem with the computer, not with portmapper.
How to install and run
Hi! You need Java 11 or later. Then you download the portmapper jar file and either double click it or execute the following on the command line: java -jar portmapper.jar You can find detailed instructions on https://github.com/kaklakariada/portmapper#readme Hope that helps!
What do you mean?
Which Java Version do you use? Please use Java 11. Please send the output of java -version java -jar <portmapper.jar></portmapper.jar>
What error messages so you get? I can help you if you give me more details.
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.
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.
Hello Anonymous, What is the problem you are having? Screenshots an log are looking good.
The only thing you could try is to delete the port mappings in you router's web interface and try again. If this doesn't help I run out of ideas.
Hi Anonymous, according to your log, the port mapping was added successfully. If you are talking about message "Got error response when fetching port mapping...": This is normal as described at https://github.com/kaklakariada/portmapper#error-when-fetching-port-mappings and does not mean there is a problem.
Great to hear, thanks for the feedback! I will add this to the troubleshooting guide.
Hi Melo, i created a new issue in Github: https://github.com/kaklakariada/portmapper/issues/72 I can't promise if or when I will have time to look into this. Kind regards, Christoph.
export ports created and recover it later
Hi Christian, i created a new issue in Github: https://github.com/kaklakariada/portmapper/issues/71 I can't promise if or when I will have time to implement this. Kind regards, Christoph.
Could not find router
Hi Anonymous, please follow the troubleshooting guide at https://github.com/kaklakariada/portmapper#troubleshooting Kind regards, Christoph.
error code 713
Hi Anonymous, please follow the troubleshooting guide at https://github.com/kaklakariada/portmapper#troubleshooting add port mappings. The error message you get is expected, see the description here: https://github.com/kaklakariada/portmapper#error-when-fetching-port-mappings Kind regards, Christoph.
Dynamic IP Messes Up Port Mappings
Hi Anonymous, looks like your router does not allow deleting port mappings from a different internal IP address via UPnP. Please try to delete the mappings via your routers web interface. Kind regards, Christoph.
Does the error message contain the text "Stop getting more entries."? In this case there is no problem, it's just a limitation of the UPnP protocol. See this link for details: https://github.com/kaklakariada/portmapper#error-when-fetching-port-mappings
Please use Java 11, see https://github.com/kaklakariada/portmapper#portmapper-fails-to-start
Please try the suggestens from the troubleshooting section: https://github.com/kaklakariada/portmapper/blob/master/README.md#router-not-found
Please run the program from the command line (java -jar portmapper.jar) and send the output. As a workaround please use the previous version.
UPnP PortMapper 2.2.0 released
You can use the following arguments for the -lib option: Cling: org.chris.portmapper.router.cling.ClingRouterFactory (default) weupnp: org.chris.portmapper.router.weupnp.WeUPnPRouterFactory SBBI UPnP lib: org.chris.portmapper.router.sbbi.SBBIRouterFactory
Changing libraries on command line
Have you tried to use one of the other UPnP libraries?
Did not find a router
Great that you could solve your problem! I think this is a problem with your router and PortMapper can't do anything there to fix it.
4
PortMapper won't help you with slow connection speed. It allows you to make servers...
This is either a problem of your router (not complient with UPnP standard) or with...
Root element name is not <scpd>: body
I don't think this is possible. You could reset your router to factory settings and...
Maybe something changed on your router, e.g. UPnP could be deactivated after a firmware...
WARN Could not connect to router: Did not find a router???
Hi! You could try to delete the port mappings with the web interface of your rou...
COULD NOT CONNECT TO ROUTER PLS FIX
Please report this issue to the upstream libraries.
Cant find router, PortMapper 1.9.5
2.0.0 alpha - no router found under Raspbian OS
Could not connect to router: Did not find a router
Can't find router
Can you please post the log? Have you tried the other UPnP libraries included in...
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.
Can you please try to enable UPnP in your router or try a different UPnP library...
This means PortMapper cannot determine the IP of your computer and you must enter...
This means PortMapper cannot determine the IP of your computer and you must enter...
Can you try it on a different computer?
Port Forwarding Error
Hi, This error message is misleading. It means there where no port mappings found....
Used to work but now cannot connect to router
Can't see my local machine only the NAS
Cannot find router...
Looks like adding port mappings via UPnP is deactiviated in your router. There should...
The WARN log message is not relevant for your problem. Are you sure your local mappings...
I guess the file properties dialog in Mac OS X.
Did you try selecting a different library in the settings and then reconnect?
Used to work but now cannot connect to router
Because you only have four mappings. This is a restriction of the UPnP protocol....
Hi Jacob, this seems to be a problem with your router. Please try to remove the port...
Hi Hydroculus, what problem do you have? I can't see anything in the log. This error...
You could try to use a different UPnP library.
You could try a different UPnP library that is included with PortMapper.
You don't need to implement the fix again, it is already included in versions > ...
Hi kartoffelsuppe! Thanks for using portmapper! I am sorry, but I don't think I can...
Hi Louis! Thank you for using portmapper! As I understand you cannot add a port mapping...
Cannot set any other internal address other than host
Hi Jeevan, Sorry for the delayed reply. It looks like your router did not return...
The error message is normal and does not cause any problems in PortMapper. In fact...
Could not connect to router: Did not find a router (ver. 2.0.0-alpha1/2)
Thank you for the update, I will close the ticket.
Hi Anonymous. I deleted your comment. I work on this project in my free time. If...
Yes, you need Java 7. But you also could continue using PortMapper 1.9.x, it should...
Java applets are not required for PortMapper. You could try to get at least Java...
The point is to forward some ports. PortMapper is just a user interface for some...
Could be that your router does not accept adding port mappings for a different ip...
I don't use port forwarding myself, so i can't give you any tip for checking open...
You have three options: - Ignore the error message (it is harmless) - Fork the project...
error 500 on v2.o.o alpha2
Hi Anonymous, this is expected behavior. UPnP has no reliable method to determine...
Fail to open this version UPnP, OS 10.6.8
Hi Anonymous, thank you for your bug report. Could you please describe what you mean...
Port mapper 2.0.0 alpha2 cant open port