I am attempting to connect a spring rest service to a client which is an android device.
I have followed this tutorial on creating my service: https://spring.io/guides/gs/rest-service/ Which by default runs the Spring Service on port 8080.
My issue is that on localhost:8080/test I get a correct output from my service but on 127.0.0.1:8080/test I get 404 Not found.
Is there any reason for this? I specifically need to connect to 127.0.0.1 for debugging purposes with an android emulator.
Thank you.