简体   繁体   English

Java-不带端口转发的ServerSocket

[英]Java - ServerSocket without port-forward

I'm making a Java application that involves every user hosting a small server. 我正在制作一个Java应用程序,涉及每个托管小型服务器的用户。 This allows the other clients to, with each others IPs check what they're doing. 这样,其他客户端就可以与其他IP一起检查自己在做什么。

But of course this needs port-forwarding to work, which people often have trouble with. 但是,当然这需要端口转发才能正常工作,而人们通常会遇到麻烦。

So, is there a way to work without port-forwarding, while still having a full-performance connection? 那么,有没有一种方法可以在不进行端口转发的情况下仍保持全性能连接呢?

对于具有直接连接或有效端口转发配置的中央服务器(用户向该服务器打开连接),该用户是一种隧道,该服务器如何处理?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM