我想连接到安装在VM上的tomcat,它运行在我的笔记本电脑上,但是我无法连接到它。
我停止了IPTables以确保这不是防火墙问题。
我可以按下那台机器。
我可以从我的虚拟机访问互联网。
我可以对我的VM做个SSH
下面是从我的笔记本上运行的NMAP命令的输出,这表明我只能访问VM的ssh端口。
>nmap.exe -A 192.168.158.131
Starting Nmap 7.01 ( https://nmap.org ) at 2015-12-28 17:29 India Standard Time
Nmap scan report for 192.168.158.131
root@t-Aspire-5742:/# sudo ipsec verify
Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.37/K3.5.0-42-generic (netkey)
Checking for IPsec support in kernel [
ERROR NetworkManager client connect error
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect0(Native Method)
at sun.nio.ch.Net.connect(Net.java:458)
at sun.nio.ch.Net.connect(Net.java:450)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl
我目前正在配置一个能够处理IPv6地址的软件,我还配置了Nginx docker镜像,以便它可以处理IPv4和IPv6地址。我遇到的问题是,我不确定要部署软件的主机是否启用了IPv6。
问题是,只要主机中没有启用IPv6,就会导致下面的错误。
nginx: [emerg] socket() [::]:8080 failed (97: Address family not supported by protocol)
2018/01/23 10:53:08 [emerg] 1#1: socket() [::]:8080 failed (97: Address family not support