There's no such thing as "publish". Just run your server. That's it. Now clients can connect to it.
If there is a firewall between your client and server, then you'll have to configure the firewall appropriately. If you're on a network with private addresses (typical home LAN setup) then you'll have to arrange port forwarding in the NAT box ('router').
发布评论
评论(1)
没有“发布”之类的东西。只需运行您的服务器即可。就是这样。现在客户可以连接到它。
如果您的客户端和服务器之间有防火墙,则必须适当配置防火墙。如果您在具有私人地址的网络上(典型的家庭LAN设置),则必须在NAT框(“路由器”)中安排端口转发。
There's no such thing as "publish". Just run your server. That's it. Now clients can connect to it.
If there is a firewall between your client and server, then you'll have to configure the firewall appropriately. If you're on a network with private addresses (typical home LAN setup) then you'll have to arrange port forwarding in the NAT box ('router').