Telnet - Connection to host lost - on port 1099 in local machine

落花浮王杯 提交于 2019-12-13 07:17:05

问题


My jBoss server is running on the port 1099. While I am trying to telnet the port from the local machine, getting the "Connection to host lost" message. I was doing

telnet 192.168.200.150 1099

Its showing some other port as 8083. What this error message means?


回答1:


My jBoss server is running on the port 1099.

No. Your JBoss server is almost certainly running on port 80 or port 8080. Port 1099 is its port for its implementation of the RMI Registry, not its primary port.

While I am trying to telnet the port from the local machine

... which is an action that makes no sense whatsoever ...

getting the "Connection to host lost" message.

... which is because the server closed the connection, because it isn't designed to handle Telnet.

I was doing

telnet 192.168.200.150 1099

It's showing some other port as 8083.

It is apparently sending you an RMI stub for org.jnp.server.NamingServer, containing its IP address and port number, which is 8083.

What this error message means?

It isn't an error message. It is the result of successfully connecting to the IP:port you specified to the Telnet client. 'Connection to host lost' is an error message, and it means that the host closed the connection. As the host isn't a Telnet server, and you're using a Telnet client, it is difficult to see why you're surprised at this, or what you asking, or what you're asking about.



来源:https://stackoverflow.com/questions/37520228/telnet-connection-to-host-lost-on-port-1099-in-local-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!