Skip to content
Advertisement

How to connect to java server (socket) using internet

I’d read a tutorial from here. It is chat application made using java for server side and client as well and android as client. Its running good without any error just need to connect on ip address of server but my question is, can i use it over internet as well as over wifi? if yes then how?

Advertisement

Answer

Just answering my own question for helping other person who’s new to this thing. It’s very easy, it can be done just using ngrok or can be done using port forwarding using router if it has Static public IP.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement