iOS 17: hostname for WiFi Sharing shows as localhost.local
On iOS 17 only, probably on Apple's mission to hide as much info as possible about the user from apps, the current way we use for WiFi Sharing to get the hostname of the iOS device will return "localhost.local" and presented to the user, which is not very helpful.
For additional discussion on this matter, see https://developer.apple.com/forums/thread/731988
Edited by Felix Paul Kühne