Configure GlassFish 3 for mobile? - mobile

I have a JSF application deployed on GlassFish
I am able to access the application from another computer
When I try to access the application from a mobile device (iPod Touch) , I got this error telling the server couldn't be found
The iPod is connected on Internet via my home router. Exactly as the other computers
Is there anything to configure in glassfish ?
Thanks for your advice.

I have find my solution :
The URL to access my web application is something like:
http://mymachinename:port/ApplicationName
PC can resolve DNS
iPod / iPad is not able to resolve the DNS
When I use the IP address instead of the machine name, everything works fine
Hope it will help someone else

Related

Local IIS can't access from mobile

I have local IIS on my local PC.I setup a service to upload files, does some operations and return value. The problem is I can NOT access this URL from mobile browser. Other PC's in the same network can access this service URL from browser. How can I fix this?
http://10.126.111.99/wcf/OCRService.svc
Thanks in advance & Best Regards.
edit 1: phone is also in the same network.

Open local website on computer from phone on same network

I have a local sandbox website on my computer running on nginx. I have chrome canary and that's what I"ve been using to test the various media sizes. Of course, this doesn't stack up against actual hands-on testing to get an idea of the feel of the website.
So, is there a way to be able to access a website running on my computer from the same network? Even if I have to use a specific app. I would like to use the same URL. dev.mywebsite.com and mywebsite.com run a on a server, sandbox.mywebsite.com is on my machine (this is the one I would like to access). I don't need to access to it remotely, just when I'm on my network is fine.
Note: I need to use the actual URL.
Thanks.
If sandbox.mywebsite.com maps to localhost on your computer, then by mapping sandbox.mywebsite.com in the hosts file of your phone to the local network IP address of your computer e.g. 192.168.1.9, you should be able to access it on the phone.
I have done this using android with hosts editor, connecting to apache running on an ubuntu laptop.
There are also many google results for this, so you may be able to find something there for your specific configuration.

How to access XBAP Application from Internet

I'm new to WPF Web Application.
I've created a test application and exported it to C:\Test Application with publish.htm file created.
I'm able to run the application on my PC but I'm unable to configure Windows Firewall so that application can be accessed from internet.
I've configured port forwarding on my broadband router to forward port 8080 to my laptop's port 80
I'm stucked here
Amit Saraf
Acoording to this article on technet you may install iis on w7hbs. I would advice you to do so, configure it and add a site for your xbap to publish, deploy it here. How to install IIS is described in the link. In w7 and windows server 2008+ IIS is "included" in features/roles. Remember to also configure your windows firewall! Try telneting your ip and port to see if you get through(also a feature btw!).
Another example is apache, but I've never used it to host xbap applications before. Maybe someone else has experience with that(linux-mono people :) )
Hope it helps!

Access a website globally which is running nicely in LAN

I have developed an application (website) which is running in LAN nicely.
My application is built using Silverlight and I have published that website in IIS and I can access that application nicely in LAN through following LINK.
http://192.168.137.24/SilverLightBusinessApplicationWeb/SilverLightBusinessApplicationTestPage.html#/Home
Now I require to access that application globally all over the word from any PC through INTERNET so for that, what configuration I have to use?
You may want to redirect your port 80 to LAN IP via router/modem settings.

IIS7 - .NET app displays fine on intranet, error on mobile devices

OK, this used to work, but it appears to have stopped working on January 1st.
We have a .NET page that is displaying some data to our internal mobile users. This page is set up with Anonymous Authentication in IIS7. (Windows Server 2008 R2 is the OS of the web server.) When accessing via our intranet, the page displays fine. When attempting to access via our Blackberries, we get the following error message:
"Error: Page cannot be displayed. Please contact your service provider for more details. (1)"
Is this an IIS error, an AT&T issue, or a Blackberry issue? My Director is on my case about it, and I'm not experienced enough in IIS to know of anything else that would cause this functionality...
You should check with your network ops team. I'm guessing that the blackberries are accessing the server from the external intranet (that's just a guess though) ... so have them double check that the domain/ip is accessible externally. That could be why you can access it from in the network.
Or if your blackberries are configured to access the network via VPN, I would double check that connectivity.
Forgot to post the resolution to this.
It turned out to be a Blackberry issue. With the latest OS, RIM combined the internal and external browsers into one browser. Said browser attempts to determine if a given site is an intranet or internet site. Even though the BES (sp?) was set up correctly, our service was still spotty. Some people could enter our intranet homepage address and get the intranet; others got the web squatter site on the internet. Since the page we were trying to access was nested fairly deeply in the directory structure, the web squatters didn't have a page with that name in their site. That's why we were getting the error shown above.
Our resolution - we created a different BES alias to point to our intranet, and rolled that out to all applicable users. Utilizing this, the browser didn't have to determine if we wanted our intranet site or the page on the internet; it correctly displayed the intranet page.

Resources