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

2019-08-21 09:22发布

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

标签: c# sockets ip
1条回答
甜甜的少女心
2楼-- · 2019-08-21 09:40

You have a firewall or NAT device between you and the internet.

You should forward your port in your router.

查看更多
登录 后发表回答