developers

    Forum Stats

  • 3,873,642 Users
  • 2,266,620 Discussions
  • 7,911,595 Comments

Discussions

Connection refused in Mission control for local process

sveryovka
sveryovka Member Posts: 1
edited Aug 3, 2015 10:29AM in Java Mission Control

Hello,

I can't connect to to any local java process from Mission Control except of Mission Control itself. I am getting following error:

--

Could not connect to [1.8.0_25] sveryov.Test (4152) : Connection refused to host: 10.131.130.190; nested exception is:

  java.net.ConnectException: Connection timed out: connect

Could not connect to [1.8.0_25] sveryov.Test (4152). Make sure the JVM is running and that you are using the correct protocol in the Service URL (service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc5AAtVbmljYXN0UmVmMgAADjEwLjEzMS4xMzAuMTkwAADJd7eTbGm/MZlx8CSvUgAAAU7z2iYygAEAeA==).

--

There was identical issue before Connection refused in Mission control

But it does not display how to fix this. It only says that if I use java.rmi.server.hostname it will work. I am setting this property to localhost (java -Djava.rmi.server.hostname=localhost  sveryov.Test) and it works. But why it does not work without setting this property? I am running local processes.

Serhiy

This discussion has been closed.
developers