Sockets 使用公共IP地址连接到azure虚拟机时出现问题
我有以下虚拟机设置 VM1redis,rabbitmq,开放端口63795672 VM2应用服务器,芹菜 VM3mysql开放端口3306 现在的问题是,有时AppServer无法使用公共ip连接到这些机器上所有这些打开的端口,但有时它可以正常工作 我能够用mysql客户端和redis cli复制这个问题,所以看起来不像是应用程序服务器问题 连接建立失败。但是,如果同时从本地系统或其他虚拟机连接到同一主机,它就会工作 所有机器都运行Ubuntu 14.04.2 LTS 我还做了一个跟踪路由,我能够获得两种情况下的跟踪路由(已连接/无法连接) 建立连接时的情况。Sockets 使用公共IP地址连接到azure虚拟机时出现问题,sockets,azure,tcp,ip,azure-virtual-machine,Sockets,Azure,Tcp,Ip,Azure Virtual Machine,我有以下虚拟机设置 VM1redis,rabbitmq,开放端口63795672 VM2应用服务器,芹菜 VM3mysql开放端口3306 现在的问题是,有时AppServer无法使用公共ip连接到这些机器上所有这些打开的端口,但有时它可以正常工作 我能够用mysql客户端和redis cli复制这个问题,所以看起来不像是应用程序服务器问题 连接建立失败。但是,如果同时从本地系统或其他虚拟机连接到同一主机,它就会工作 所有机器都运行Ubuntu 14.04.2 LTS 我还做了一个跟踪路由,我能
azureuser@vm2:~$ tcptraceroute vm3 6379
Selected device eth0, address local_ip, port 48950 for outgoing packets
Tracing the path to vm3 on TCP port 6379 , 30 hops max
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 vm3 [open] 1.338 ms 1.540 ms 1.216 ms
azureuser@vm2:~$ tcptraceroute vm3 6379
Selected device eth0, address local_ip, port 42141 for outgoing packets
Tracing the path to vm3 on TCP port 6379 , 30 hops max
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Destination not reached
连接未建立时的情况。
azureuser@vm2:~$ tcptraceroute vm3 6379
Selected device eth0, address local_ip, port 48950 for outgoing packets
Tracing the path to vm3 on TCP port 6379 , 30 hops max
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 vm3 [open] 1.338 ms 1.540 ms 1.216 ms
azureuser@vm2:~$ tcptraceroute vm3 6379
Selected device eth0, address local_ip, port 42141 for outgoing packets
Tracing the path to vm3 on TCP port 6379 , 30 hops max
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
Destination not reached
我还尝试通过ssh隧道连接,但得到了相同的结果
更新:降级到12.04后,我再也看不到这个问题了。
罗希塔什