Issue
I have spring-boot and angular applications that communicate with each others. Applications are running perfectly on the server, I want to access to the angular application from another machine connected on the same traffic. So I opened the 4200 angular port and I configured the environment api url with "ip_server:8080" , which 8080 is the backend port (spring application). I can access to the angular application but I can't authentificate, even the backend logs don't show anything, so the request is not passed. And in application properties for spring, I use bind address 0.0.0.0 and server port is 8080 what can i do ?
Solution
In the angular app, i just changed localhost on backend api call by ipaddress of the machine and it works
Answered By - Mohamed Jmal
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.