Search code examples
javasocketsportforwarding

Server Socket: No port Forwarding


Thanks for any answers in advance.

Anyways, I made an android application, (This isn't an android question), and it connects to your computer so you can monitor it. Well I have the server for the computer ready to the client from the phone can access it, it works perfectly. The problem is, You have to port forward, and not everybody knows how to do that. Is there a way so you can programmatically make it so you do not have to port forward? Thanks again!


Solution

  • You mean you had to set up port forwarding on your router (because you're using a router with your broadband connection)?

    No.

    You would need to set up a intermediary server on the internet somewhere that both could connect to, then forward the data through that.