Server address incorrect ? Service destroyed

wmvdhut8 years ago

Hi -

I was able to install traccar server on my computer and tracker client app on my iphone!

Now I have registered the client device in the server web (http://localhost:8082/) using device identifier and adding the server address - 192.168.1.149

Result:

Location update
Location update
Service destroyed ..

Now something is wrong. Maybe server address is not correct.. How can I check ?

Anyone have some advice ? Thanks :)

Anton Tananaev8 years ago

Service destroyed means that you turned off the service toggle in the app.

wmvdhut8 years ago

OK - that's clear now. Thanks !

I am running the service again but the client app is now giving:

Location Update
Location Update
Send failed.

Any idea what is causing this ?
Perhaps the below parameters are incorrect ?

server address: 192.168.1.149
Server port: 5055 ?

Anton Tananaev8 years ago

Is your device on the same local network as your server?

wmvdhut8 years ago

Yes it is.

The server runs on my laptop which is connected to the same WIFI as the Iphone with the client app.

wmvdhut8 years ago

Any idea ?

This is what the port check gives back:

Address 127.0.0.1
Port 80
Result is open

How can I check if I have a public IP ?

Anton Tananaev8 years ago

If phone and server are on the same local network, it should work fine with local IP address.

ecboy7 years ago

how can i change server? it always send failed

Anton Tananaev7 years ago

Server address field is on the main screen. You can change it from there.

rahul_singh7 years ago

hi anton sir,
working perfectly on the demo server now.
only asking what ip to use on server address field for localhost server

Anton Tananaev7 years ago

It should be your server's public IP address.

rahul_singh7 years ago

exactly sir,wanted to ask how can i find my localhost server's public ip address?

Anton Tananaev7 years ago

If you don't know it, you should ask your ISP. Are you sure you have it in the first place?