BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-17-2009, 06:48 AM   #1 (permalink)
New Member
Join Date: Aug 2009
Model: 9630
Carrier: vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to open localhost application

Please Login to Remove!

I Am using blackberry 9630 simulator.
I tried to run my application which is running on webserver port 8080 on window machine.

I tried to connect it using in browser in localhost and port number 8080,

it was not showing HTTP Error 403: Forbidden
You are not authorized to view this page. Please try loading a different page"

Please reply me, how could i run my application.
Old 09-17-2009, 08:28 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

You cannot access localhost via MDS and the simulator.

You can work around this by adding your local IP address to your hosts file, with a dummy host name.
Old 09-17-2009, 06:27 PM   #3 (permalink)
Knows Where the Search Button Is
Join Date: Sep 2007
Model: 8100
Carrier: Vodafone
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts

Change the localhost to the IP address and it should work. Also make sure you are running the MDS-CS.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.