Socket C# - Local Ip works, but Internet IP do not

2019-08-21 09:36发布

问题:

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.



标签: c# sockets ip