I'm sending simple messages from an Android client to a PC server using TCP sockets. They are on the same WiFi network (connected to the same router). Do I need port forwarding for this?

有帮助吗?

解决方案

No, you do not need to port forward. You might need to open the port on your firewall, however, so make sure you do so. Port forwarding is for opening ports to external networks.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top