问题
Guys, i implemented a Socket with Client and Server side. When I use my local IP (192.168...) it works. But when I put the Internet IP, it doesn't work! What's the main causes for that please?
Thank you
回答1:
You have a firewall or NAT device between you and the internet.
You should forward your port in your router.
来源:https://stackoverflow.com/questions/3121871/socket-c-sharp-local-ip-works-but-internet-ip-do-not-work