Forward all data to local test server

Alf-DK5 months ago

Hello

I have a well-functioning server running with ver. 4.15 which works perfectly, and would like to try the new version of traccar.

I've looked through quite a few topics in here but haven't found anything that works for my needs.

What I would like is to forward all data to a test PC on my network where I have installed the latest version in order to be able to test it.
the test server must not be accessible from the Internet, only locally

Have tried the following in the config file, but only get data from one device

    <entry key='forward.enable'>true</entry>
    <entry key='server.forward'>192.168.1.5:8082</entry>
Anton Tananaev5 months ago

It should be just this:

<entry key='server.forward'>192.168.1.5</entry>

The port will be the same as the original server.

Alf-DK5 months ago

ok so it should look like this.

<entry key='forward.enable'>true</entry>
<entry key='server.forward'>192.168.1.5</entry>
Anton Tananaev5 months ago

No, it should be what I said it should be.

Alf-DK5 months ago

OK thanks
was just in doubt whether the first line should be included as well.

Alf-DK5 months ago

It doesn't seem to work. no data comes to the test server.
what am i missing?

Anton Tananaev5 months ago

Not sure what you're missing. You should investigate what's wrong. Check that the ports are open, service running etc.

Alf-DK5 months ago

the new test server runs fine. If I set port forwarding to the test server's IP in my router.

Alf-DK5 months ago

Ok have found that it works when I send data from the new version to the old one but not the other way around
so 6.2 to 4.15 works but not the other way around

Yoshio Alejandre 5 months ago

hi friend Alf-DK

You will have the command exactly as you put it. It's just that I want to do the same thing as you and it doesn't work for me.

Help me please

Alf-DK5 months ago

Hi Yoshio

I can currently only get it to work by forwarding from the new version of Traccar to the old one.
Have set up my Config file with this line

<entry key='server.forward'>192.168.1.5</entry>

and put port forwarding in my router to let data from my devices' ports go to the ip on the new version.

Does that make sense to you?

Turbovix3 months ago

Guys, forwarding doesn't work on series 4 versions.