What is host name

I installed Mosquitto on windows 11 but cannot find a way to see the host name. Mosquitto is running as a windows service and the test.eclipse.org connection in the MQTT Connection software shows a lot of activity. However for the the mqtt.eclipse.org, I get “getaddrinfo ENOTFOUND mqtt.eclipse.org” when I click the Connect button.

Hello Karl,

The hostname for locally installed services is always localhost:port
e.g. localhost:1883 or instaed of localhost you can use the IP of the device Mosquitto is running on.
Make sure the device’s port is open to the network.

If I understand you correctly, you would like to connect to your local running instance with a domain name.
To get a “real” hostname like mosquitto.org you will need to set up server certificates and a domain name. There are different ways of setting that up. Here is one.

I am not sure which MQTT software you are using and how that relates to your question above, with the connection to your personal hosted Mosquitto. Could you clarify this?