Fixed.
This was a stupid problem of habilitation. I didn't have access to the machine I was trying to talk to.
Sorry for asking help I was not needing.
Actually, "hostName" in new MqttClient(hostName) hides a real machine hostname, running an MQTT server I can publish and subscribe to through the web interface I mentionned.