GitHub user kim2yung closed a discussion: I have written one service which is 
importing a JSONfile for monitoring internally

I have written one service for import of JSON file after getting device IP 
automatically, I have specify the API url for import i.e, /api/monitors/import  
in the application.yml file. So my question is-

1. When I give API url for localhost:1157/api/monitors/import it does not work.

2. When I give 192.145.22.87:4200/api/monitors/import then it works, it imports 
automatically and we can see in UI. Here 192.145.22.87 is where I am running 
other hertzbeat remotely.

3. port 1157 is for backend where swagger is also running but import is working 
on 4200 port which is for frontend. WHY?

4. When I give localhost:4200/api/monitors/import it does not import because 
Backend gives exception url NOT FOUND. Therefore FrontEnd I cannot start; If 
front can start without backend  then it surely import.

Can I do local import? How.


GitHub link: https://github.com/apache/hertzbeat/discussions/3092

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to