Server address unresolved - cannot connect to rabbitmq server using hivemq client

Hi, I am running a rabbitmq mqtt ws local cluster of servers.
When using paho I connect with tcp://127.0.0.1:8085.
RabbitMQ documentation says I should use ws://127.0.0.1:8085/ws.
When connecting with HiveMQ client (in Java) I apply:

.serverHost(“tcp://localhost”)
.serverPort(8085).

Connection is not established. When debugging the transport config I see that serverAddress is:
tcp://localhost/ < unresolved > :8085

Where and how do I replace the unresolved please? Thank you.