BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-12-2008, 02:56 AM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8120
PIN: N/A
Carrier: Vodafone
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Angry Unable to access network from BlackBerry simulator

Please Login to Remove!

Hi,
I need some help to solve this problem. I am new to BB programming. I want to access net from BB simulator. I am working on Windows XP, have McAfee antivirus installed.
Using : BlackBerry JDE 4.3.0
Server : Tomcat 5.5 to deploy web application
Java : 1.5.12

I have tried accessing custom web application (http://localhost:8084/XServlet), a text file (http://localhost:8084/test.txt), any other site (like google).
I am getting either InterreptedIOException local connection timed out after ~120000 . Or status code 403 (forbidden access)

In all cases MDS simulator is running.
Attached Files
File Type: txt HTTPFetch.txt (8.0 KB, 32 views)
File Type: txt Msgservlet.txt (4.9 KB, 14 views)
Offline  
Old 05-12-2008, 02:37 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

replace "localhost" with the name of your machine
Offline  
Old 06-11-2008, 06:29 AM   #3 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8120
PIN: N/A
Carrier: Vodafone
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks Ivanov,
I have found the solution for the simulator. I have modified the rimpublic.property file.
Added

application.handler.http.proxyEnabled=true
application.handler.http.proxyHost=**.***.**.**
application.handler.http.proxyPort=****

to enable proxy. Changed the localhost to IP address. And simulator works fine.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.