I have two computers using the same network in the same building storing the information on MYSQL (Cloud), now as long as I'm in the same building computer B can access the resources stored on computer A which is the JAVA file by using port number 8080 because the public IP address on both computers are the same.
Now here is the problem I move the same computers from one town to another town with the same router when I switch on both computers and connect to the same router then the router assign two different public IP address as result now computer B can no longer use the resources on A.
What do I to ensure that both computers are using the same public IP address and continue sharing the the same resources?
Now here is the problem I move the same computers from one town to another town with the same router when I switch on both computers and connect to the same router then the router assign two different public IP address as result now computer B can no longer use the resources on A.
What do I to ensure that both computers are using the same public IP address and continue sharing the the same resources?