如何通过来自Blackberry Simulator的http请求访问本地主机网站? [英] How to access localhost websites through http request from blackberry simulator?

查看:109
本文介绍了如何通过来自Blackberry Simulator的http请求访问本地主机网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Blackberry应用程序,我想从我的本地主机(本地计算机)访问这些网站.我正在黑莓模拟器8350上运行该应用程序.

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.

当我尝试将url设为localhost:8080/portal/index.php时,它向我显示一条错误消息

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

HTTP错误404 说明所请求的资源(/portal/index.php)不可用.

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

我正在Windows的8080端口上运行我的apache网络服务器.

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

我如何从Blackberry Simulator访问我的本地计算机网站?

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

请帮助并指导我. 谢谢 新航

Please help and guide me. Thanks SIA

推荐答案

问题已解决.

在我的本地计算机上,我正在端口8080上运行apache,并且MDS服务正在同一端口上运行并绑定.

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

只需更改本地计算机上Apache的端口,就可以帮助我从Blackberry Simulator连接到本地计算机和Internet.

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,谢谢您的想法.

@Franci, thanks for your idea.

这篇关于如何通过来自Blackberry Simulator的http请求访问本地主机网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆