How to connect to localhost from OperaMini

I'm trying to develop a BlackBerry compatible web page (using OperaMini), but OperaMini seems to avoid connecting with localhost:

  • localhost
  • 127.0.0.1
  • 192.168.2.107(ipaddres given by the router)

I'm using OperaMini 4.x and MicroEmulator 2.0.4. Is there another way to develop for mobile phones(BlackBerry mainly)?


Solution 1:

OperaMini uses a transcoding proxy server to retrieve light versions of website for the phone. Because all traffic goes through this proxy server, OperaMini cannot access anything on the local machine or network. In order for OperaMini to have access it must be available on the internet.

This has also been discussed on Server Fault.

Solution 2:

Ensure that you have the MDS emulator installed and running. BlackBerry emulators by default cannot connect to the internet, remote or local. The MDS emulator will simulate the BlackBerry network.