且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何连接到互联网上的静态或本地IP

更新时间:2022-06-22 22:47:27

1)是的,你可以
2)您需要连接到VPS的公共IP.您或ISP需要设置NAT(或端口转发)以将服务器的数据包转发到客户端(即,转发到VPS的专用IP).
1) Yes you can
2) You need to connect to VPS''s public IP. Either you or the ISP needs to set up NAT (or port forwarding) to forward the server''s packets to the client (ie. to the VPS''s private IP).