MEMORIAL DAY SALE: Save 15% on ALL BlackBerry Accessories! Use Coupon Code MEM12.
Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 06-15-2009, 11:34 AM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Jan 2009
Posts: 32
Likes Received: 0
Thanked 0 Times in 0 Posts
Default Simulator/MDS with Local Web Server

Hello,

Let me start by saying I am still a bit new to developing for the Blackberry platform but am having trouble finding a good way to get my development environment optomized.

OK, what I'm doing is writing a blackberry client app that talks to a web site. I'm developing the web site using .Net. What I want to do is be able to debug both the BB app and the web app. However the .net Cassini web server is listening on localhost and it seems the MDS simulator doesn't serve up requests to localhost (you get a 403).

This can't be that uncommon of a requirement...how have other people dealt with this?

Thanks
Reply With Quote Tip this Post
  #2  
Old 06-21-2009, 10:35 AM
CrackBerry User
Device(s): 9530 (Storm)
Carrier: Verizon
 
Join Date: Mar 2009
Posts: 14
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

You need to use the actual name of your machine instead of localhost. I think the MDS proxy "hijacks" any requests to "localhost". By using your machine name, you should be all set.
__________________
Patrick Steele
ColorFILL! Author (Flood-it clone for Blackberry Storm)
ColorFILL! OTA Download
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Simulator/MDS with Local Web Server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes