How to connect by hostname ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
kr0815
Normal user
Posts: 136
Joined: 18 Nov 2015, 18:24

How to connect by hostname ?

#1 Post by kr0815 » 09 May 2016, 22:19

I had an older, modified version running logging to a public server
I waned to try now the newer releases . no modifications made

When using generic HTTP Protocol - then "Use Hostname" - the log always says connecting to 0.0.0.0
I even tried to declare my router as DNS in the optional settings

Any ideas what i´m doing wrong ?

What are the optional settings for ?
Clipboard01.jpg
Clipboard01.jpg (41.84 KiB) Viewed 5209 times
Attachments
Clipboard02.jpg
Clipboard02.jpg (42.09 KiB) Viewed 5209 times

JCMB7
New user
Posts: 5
Joined: 04 Apr 2016, 22:34

Re: How to connect by hostname ?

#2 Post by JCMB7 » 11 May 2016, 10:12

In the field Controller Hostname should appear only the host-part of the URL. kr123.de

This part is then resolvable by DNS

The rest of the URL has to be in Mqtt advanced settings.

The optional settings in the screenshot are for fixed IP instead of dhcp client

ryanjennings
New user
Posts: 9
Joined: 25 Jan 2017, 03:57

Re: How to connect by hostname ?

#3 Post by ryanjennings » 06 Feb 2017, 16:15

I ran into a similar problem because I had included https:// in the hostname. When I removed that everything worked.

ryanjennings
New user
Posts: 9
Joined: 25 Jan 2017, 03:57

Re: How to connect by hostname ?

#4 Post by ryanjennings » 04 Mar 2017, 14:47

I have been using the connect by hostname option for several weeks without trouble. This week things quit working. I am pretty sure my trouble came from the hostname lookup seems to only happen when the controller is configured. In my case the ip of the host changed. More details of my configuration and application are in another post.

viewtopic.php?f=2&t=2655&p=13073#p13073

The hostname I used was weatherstation.wunderground.com

Can anyone confirm that the ip of the hostname is only looked up when the controller is configured?

Thanks for the help,
Ryan

Marko91
New user
Posts: 2
Joined: 24 Mar 2018, 19:17

Re: How to connect by hostname ?

#5 Post by Marko91 » 24 Mar 2018, 19:19

ryanjennings wrote: 06 Feb 2017, 16:15 I ran into a similar problem because I had included https:// in the hostname. When I removed that everything worked.
Hello, I've been trying to connect easayesp with WU for a long time ...
Please, could you publish your solution?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 40 guests