Replies: 1 comment 1 reply
-
hi, If other third-party systems are integrated with Hertzbeat, you should use its API, i.e. 1157/api/xxx instead of port 4200, which is the startup port of the local front end. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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-
When I give API url for localhost:1157/api/monitors/import it does not work.
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.
port 1157 is for backend where swagger is also running but import is working on 4200 port which is for frontend. WHY?
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.
Beta Was this translation helpful? Give feedback.
All reactions