Make Application Run Local Network Only - LocalHost

-1

Good morning, everyone.

Personal, I have a network in a client of 3 computers. Since there is no internet on the server it works with the following address the user registry.

link

If I click on a button that is called List All, this computer shows all users that are in the database.

My Angular scope is as below and it works on the primary computer that would be a server, only on the client site.

NowIneedtoputthesameapplicationontwoothermachinesanddidthefollowing:

link

The user registration screen is even displayed, but in turn, when I click on the list all button it informs that it could not communicate with the destination host.

Does anyone have any idea how I should proceed to make the system work only on a local network without relying on the internet or any exposed ddns address?

    
asked by anonymous 19.10.2018 / 17:09

1 answer

0

Instead of localhost: 8070 use the ip of your application 192.168.0.142:8070, both to access the url and the services that are within your application.

If your services are the same as your application, I suggest that you use only "/ usuario" in the urlDestino variable.

    
19.10.2018 / 17:18