How to put Server name on Hercules program

I try to use Hercules program to test mqtt on cloudmqtt . I can not put Server name .So I put IP instead. How can I put Server name? IP address and Server name is the same on cloudmqtt. I’m not good at english .
Thanks lot

I am not sure if it allows domain names. Better to resolve the DNS to a IP of that domain and use it here.

Hello Ravijar
I can connect to cloudmqtt using IP instead web name. I can public message using this packet.
PUBLISH PACKET|||PUB|RL|TPLEN|v|a|l|e|t|r|o|n|h|e|l|l|o|r|a|v|i
|30|13|00|08|76|61|6C|65|74|72|6F|6E|68|65|6C|6C|6F|72|61|76|69

when I change topic to “temp” and message “25.6C”

||PUB|RL|TPLEN|t|e|m|p|||||2|5|.|6|C
||30|0b|00|04|74|65|6D|70|32|35|2E|36|43

Hersules show Connection refused by remote host
Connection closed
I only can public the lenght topic (08) such as “valetron” ,“temptron”
when I change the lenght topic from 8 to 4 “valetron” to “temp” Hersules show Connection refused by remote host
Connection closed. why ?

I can public message and subcribe topic. Thanks alot.

Your remaining length field calculation might not be proper.

Yes. but it work OK now .Thanks laot