我在 namecheap 上有域,并在 DNS 设置上创建了 subdomain.domain.com 和 URL 重定向到 IP:PORT。
但不知何故,当我做
telnet IP PORT
请求它有效
输出:
telnet IP 2002
Trying IP...
Connected to ...
Escape character is '^]'.
???s?"??+s?"Z?2\?v??????????Connection closed by foreign host.
telnet subdomain.domain.com 2002
不起作用。
输出:
telnet sub.domain.com 2002`
Trying ipofdomain...
telnet: connect to address ipofdomain: Connection refused
telnet: Unable to connect to remote host
任何人都可以阐明如何使其在 namecheap 设置或其他具有 iptables 的服务器上工作,也许?