web.address not work on Windows 11

ilevansa year ago

Hi All

I recently moved my traccar server from a WIN7 computer to a WIN11 computer and traccar will no longer bind to the address defined in web.address.

traccar.xml contains

<entry key='web.address'>192.168.41.63</entry>
<entry key='web.port'>80</entry>

traccar is binding to 192.168.41.6:80 (resource monitor)

I have checked . . .

  1. The address is defined on the ethernet adapter (adapter settings)
  2. The address is not being used by any other program (resource monitor)
  3. IIS does not have a lock on the address (netsh http show iplisten)
  4. The tracker-server.log gives no indication to any issues.

I am out of ideas what to check next. I have other programs binding to other addresses without any issues.

Any ideas?

Regards, Ian

Anton Tananaeva year ago

Could be some issue in the Netty library or maybe Microsoft broke something.

Here's the relevant Traccar code:

https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/web/WebServer.java#L86

Track-tracea year ago

An option might be to install virtualbox with Ubuntu server on that windows 11 pc. And install traccar server on Ubuntu.

Then you can assign any local ip to that ubuntu server (which will be used by your traccar server).

ilevansa year ago

I have implemented a work-around configuring the firewall etc to use the 192.168.41.6 address, so I am up and running.

What I have been attempting to do is isolate why it is not working so that I can report to the appropriate source.

I may need to download and work with the source code to debug the origin of the issue.
Looks like another learning curve, as it has been many years since I worked with the source code and built the project.
That may happen one day if/when I get some time for it.

Thank you for your responses.

Regards, Ian