开发者

Server Socket: No port Forwarding

开发者 https://www.devze.com 2023-02-18 10:35 出处:网络
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 moni开发者_开发技巧tor it. Well I have the se

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 moni开发者_开发技巧tor 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 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消