Where did get that URL from? Correct one is
github swagger document
https://raw.githubusercontent.com/tananaev/traccar/master/swagger.json
It doesn't say anywhere that it's host name for demo server.
In fact there are 3 demo servers and they all have different domain names. Which one are you using?
Hello, how can i allow my traccar server to recieve RestApi commands from only one IP adrress and block all other receivers. I don't like to receive restapi commands for any places.
If you allow API requests only from one IP address, the web interface would be available only on that IP address. If that's what you want, it should be easy to configure in firewall.
Anton
I could bronken this issue in two parts.
1 - The web interface will be available to all IP address and
2- API requests only from one IP address.
I would like block someone trying create adminuser using rest api from internet. Once to send this command is not necessary any previous autorization.
Is it possivel change API request port?
Anderson
Web interface uses same REST API, so what you are asking doesn't make any sense.
Like an idea, use intermediate web server (like apache or ngix) to proxy connection to traccar and filter/not proxy some requests.
I guess that's possible. You can filter some requests by URL if you want.
What about just disabling those requests for non-admin users? It's a one line of code and you don't need to worry about IP addresses.
Is the api available to work with the demo server? I am not able to get any response from the path where the documentation says it is available at. http://traccar.org/api