Search code examples
httpwebrequestlocalhostblackberry-simulator

How to access localhost websites through http request from blackberry simulator?


I am developing a blackberry application and i wanted to access the websites from my localhost( local machine). I am running the application on blackberry simulator 8350.

From my code i can browse request any website from internet and i am getting the response.

When i am trying to give the url as localhost:8080/portal/index.php, its displaying me a erro message

HTTP Error 404 description The requested resource (/portal/index.php) is not available.

I am running my apache webserver on port 8080 over windows.

How can i access my local machine website from blackberry simulator?

Please help and guide me. Thanks SIA


Solution

  • The problem is solved.

    On My local machine i was running apache on port 8080 and MDS Service was running and binding on the same port.

    Simply by changing the port for Apache on my local machine helped me to connect to my local machine and internet from Blackberry Simulator.

    @Franci, thanks for your idea.