【发布时间】:2018-02-22 07:28:44
【问题描述】:
我已将我的服务器配置为使用以下标志运行:
服务器--> 服务器类型--> WebSphere 应用服务器--> 附加属性--> 调试服务:
JVM Debug Arguments= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8888
JVM Port= 8888
我用服务器 ip 配置了 eclipse 调试配置(验证了 ip 可以通过 ping 命令访问)和端口 为了确保我也增加了调试器超时。
我有:Failed to connect to remote VM. Connection refused.
连接被拒绝:连接
所以我使用 (nmap xxx.xxx.xxx.xxx -p 8888) 在服务器上进行了端口扫描,端口似乎: 港口国服务 8888/tcp 关闭 sun-answerbook
此外,查看 WebSphere 管理控制台的 Server--> Server Types --> WebSphere application servers --> Communications-->Ports 部分 我在列表中没有看到 8888 端口。
我需要做什么?
打开机器上的端口? (怎么做?)
在上述部分的列表中添加端口?
其他?
@@@@@@ 已编辑 @@@@@@@@@
附加检查
netstat -na | grep 8888 --->no listening port/doesn't show me nothing
----------------------------------------------------------------------------
[root@dmgr ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
----------------------------------------------------------------------------
C:\Users\alex>nmap 192.168.115.235 -p 8888
Starting Nmap 7.60 ( https://nmap.org ) at 2018-02-23 10:58 ora solare Europa occidentale
Nmap scan report for xxxx.xxxxxxxxxxxx.com (192.168.115.235)
Host is up (0.0018s latency).
PORT STATE SERVICE
7777/tcp closed cbt
Nmap done: 1 IP address (1 host up) scanned in 4.59 seconds
那么,8888上没有监听端口,没有拒绝连接的iptables规则,如何进一步调查?
【问题讨论】:
标签: websphere remote-debugging jvm-arguments