Remove ports that you don't need from default.xml
.
This is a very good question indeed. I am trying to make my traccar work via HTTPS, hence I would like to:
How do I do it exactly? Removing ports from default.xml
just removes listening on them whatsoever.
You can use ***.address
config parameters to limit interfaces.
Thank you. It worked:
<entry key='web.address'>127.0.0.1</entry>
<entry key='web.port'>8082</entry>
<entry key='web.path'>./web</entry>
<entry key='osmand.address'>127.0.0.1</entry>
<entry key='osmand.port'>5055</entry>
After restarting traccar, sudo netstat -tulpn
command returns
tcp6 0 0 127.0.0.1:8082 :::* LISTEN 3335/java
I have a server with multiple interfaces ; i would like the 'osmand.address' binding to 1 IPv6 interface and 1 or maybe 2 IPv4 interfaces.
How can this be done without listening to all the interfaces ?
I tried multiple osmand.address keys and a space separated address list ; but that doesn't do the trick.
thanx !
No, you can only specify one or all.
I understand that a "normal" installation will listen for all kind of trackers - listen on many different ports.
How can I limit it so it will only listen on the ports my devices use?