Event Public Ip's

Fernando7 years ago

Great software Thanks. My home network has a router so when the Traccar server send's out the event emails it sends the internal ip Link: http://192.168.1.149:8082?eventId=4 which is correct. Is there a way or setting for the server to send out the public ip which is a static one.

Thanks

Anton Tananaev7 years ago

Yes, you can use web.url config parameter to specify external URL.

Loic 7 years ago
cd /opt/traccar/conf
nano traccar.xml

add <entry key='web.url'>yourpublicipaddress:8082</entry>

quit and save

it's work fine for me

Fernando7 years ago

I config the traccar xml file (not the default) with the line <entry key="web.url">www.mydomain.me:8082</entry> works great now once again thanks for the help.