简体   繁体   中英

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!

You can have both connect to a server of yours. More of a pain than any other method, but guaranteed to work.

I'm not sure about the specifics of the droid, but you may be able to access the droid directly through its IP.

Otherwise you could set up a simple tutorial program, with specific instructions on how to port forward. You could even make a little program to access certain popular vendors port forwarding directly. Maybe just a little thing that asks for a password and connects and does everything automatically. Wouldn't be horribly difficult with some vendors.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM