-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Connect using Hostname #3053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Connecting via hostname works fine for me. For instance, I usually type |
Ah ".local" will be it then, I'm not used to needing that - thank you : ) |
from a look in UDPSerialConnect.cs, looks like it's setup only for ipv4 address - think the easiest way could be to filter to only ipv4 addresses from the Dns.GetHostEntry method in a similar way to here https://stackoverflow.com/questions/1059526/get-ipv4-addresses-from-dns-gethostentry ? |
Confirmed that Dns.GetHostEntry(host).AddressList contains the ipv4 and ipv6 address for the machine i'm trying to connect to, so we need to filter to get the correct one rather than just picking the first address which is the current behaviour |
my quick google suggests your error is to do with your firewall/pc settings https://thegeekpage.com/address-incompatible-with-the-requested-protocol-10047-error-fix/ |
also what OS? |
Windows 11 |
thanks for your response! @meee1 |
ok, i think i might have an answer, just needs testing, well release a new beta soon |
ok so I've tried the latest beta build 1.3.8479.1107 and now it just stays on trying to connect. Normal behaviour on ipv4 address |
tried the 1.3.8482.6581 build with the ipv6 fix in the changelog @meee1, not really sure how to interpret the error, had a google and seems pretty generic..
|
Issue details
Hostname connection not supported through UDPCI / TCP
I've checked previous issues for any mention, I've tried on MP and I've had a google - I could have missed a discussion or maybe the feature is already implemented in some way..
Currently need to specify IP - more convenient to specify hostname, especially where the IP of the device may be changing. For example the hostname would be "raspberrypi" by default for a pi.
Version
current
The text was updated successfully, but these errors were encountered: