How to change the host of the server?

I would have thought the server binds to the ip address of the host machine and all you would need to do is ensure you connect to the correct ip from the client.

client = Network.connectToServer("Cidade", 1, "25.150.242.43", 6114);

It’s hard to analyse network related issues like this but I suggest you set up a simple cloud based server somewhere without any firewall, install the server and then try to connect to it with your client on your machine, this should work assuming your client machine doesn’t block the request as well.

Adding in bridge interfaces such as Hamachi will most likely only introduce more complications, especially when trying to troubleshoot.

Another test would be to setup the server on another machine in your local network (if you have another machine) and try that first.

I also noticed there was a similar question at Client not seeing server. Windows Firewall Question