Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Reference application by machine name not IP - on smart phone
jezBo
#1 Posted : Saturday, January 21, 2012 4:23:56 AM(UTC)
Groups: Member
Joined: 12/19/2011(UTC)
Posts: 4
Location: Prague

I deploy an ASP.NET application over my LAN using UWS - it works fine. However, from a different wireless device on my LAN (an ipod touch) I find I have to access the application by IP address:

192.168.0.199:82/MusoServer/

rather than by machine name:

gigabyte:82/MusoServer/

Well, the latter worked once for some reason, but not before or since. This is obviously not convenient for bookmarking since the IP address may be different each time I boot my server.

Can anything be done about this? UWS Redirector I don't think is applicable in this case since its not a port number issue, and in any case the redirection url still needs to specify machine name or IP address.

What I refer as my "server" here is just a Windows 7 pro desktop, on a WORKGROUP not a domain, named Gigabyte. It's only the ipod touch that has this difficulty (Safari on iOS), from a wireless laptop the machine name address does seem to work. Can iOS not resolve machine names to IP addresses?

I realise this is not perhaps a UWS issue, but still someone may be able to help.
Ultidev Team
#2 Posted : Saturday, January 21, 2012 11:15:55 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Yes, we have noticed that host name resolution is a problem with smartphones.

iOS devices in a workgroup can resolve host names in the "machinename.local" format. So to instead of using "http://johnsdesktop:7756/" URL, use "http://johnsdesktop.local:7756/".

Android devices, when in a domain-based (non-workgroup) network, should use fully-qualified domain name (FQDN) as host name, instead of mere machine name. The correct URL could look something like http://johnsdesktop.companydomain.co:7756/"

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#3 Posted : Monday, January 23, 2012 2:41:58 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

That's brilliant - it works. Thanks.
jezBo
#5 Posted : Monday, January 23, 2012 2:43:38 AM(UTC)
Groups: Member
Joined: 12/19/2011(UTC)
Posts: 4
Location: Prague

That's brilliant, it works. Thanks.

EDIT: Might be a good idea to add this to the FAQ if not there already.
Ultidev Team
#6 Posted : Monday, January 23, 2012 8:29:32 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
You are very welcome!

Next release will have FQDN and machine.local hosts added to the Browse menu of the UWS Explorer utility. Also, RegApp utility and registration API will add an ability to create application shortcuts with host names friendly to different devices, so we'll cover the topic in more detail soon.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#7 Posted : Wednesday, July 17, 2013 4:41:41 PM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Message was deleted by a Moderator.
Guest
#8 Posted : Thursday, June 18, 2015 4:45:55 AM(UTC)
Groups:
Joined: 11/1/2005(UTC)
Posts: 278

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.