我有一个位于192.168.168.1(子网掩码/
24)的远程Linux服务器,该服务器已安装并运行了tomcat。我知道它正在运行,因为当我通过SSH连接到它并执行“ wget
localhost:8080”时,我得到:
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8080... connected.
HTTP request sent, awaiting response... 200
Length: unspecified [text/html]
Saving to: ‘index.html.1’
[ <=> ] 11,230 --.-K/s in 0s
2018-07-05 15:37:21 (184 MB/s) - ‘index.html.1’ saved [11230]
我的本地Windows计算机位于IP地址为192.168.168.2的同一网络上,当我打开浏览器并在网址栏中输入“
192.168.168.1:8080”时,它告诉我一段时间后连接超时。
我可以从Windows计算机上ping linux服务器,没有问题。
我需要针对tomcat / linux服务器进行配置,以便能够从本地计算机调用tomcat吗?