How did you check the open ports?
Example: will this stop the server from listening on port 5014?
<entry key='jt600.port'>false</ entry>
How did you check the open ports?
$ nmap localhost
$ nmap traccar.myserverhostname.net
Example: will this stop the server from listening on port 5014?
Is this a Hint or a Question?
My first/main interest is, why are some ports, defined in default.xml, open, and some are still defined, but not open?
If i delete everything i don't need from default.xml, the port-issue ist hopefully fixed.
Stephan: a question for Anton - sorry for abusing your thread. :-)
@Stephan Augustin, you should be using something like netstat
to look at open ports. The tool you are using will only check well known ports, not all ports.
You're completely right. Sorry for wasting your time.
netstat shows all configured Ports.
Alternatively, one can use also nmap:
nmap localhost -p5000-6000
So i will remove all unused ports from my config.
Thanks a lot
Stephan
Hi, @Stephan Augustin. Can You tell me how do You remove unused ports? Do You go to default.xml and just remove entries? My device use port 5023, so Can I remove all the rest?
Regards.
@Przemyslaw I removed all unused entries from default.xml. However, I have no confirmation that this is the only/best/official way to do this. Make a Backup and try, for me it did the trick.
@Stephan, thanks, I do as You said and everything looks OK.
Regards.
I was wondering if i can reduce the open ports on my system when i realized that in the config are many more ports configured then really open:
( had to change all angle brackets with underscore)
open ports:
Why is there such a huge difference?
Is there another way disabling the Ports instead of deleting them?
commenting out crashes the server ;(
Thank you,
Stephan