Windows Phone:可以使用:port打开URL吗? [英] Windows Phone: possible to open URLs with :port?

查看:78
本文介绍了Windows Phone:可以使用:port打开URL吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在诺基亚Lumia 820(WP8)上打开一个node.js应用程序.当我在浏览器中输入地址(mydomain.net:8088)时,出现错误消息:

I am trying to open a node.js application on my Nokia Lumia 820 (WP8). When I enter the address in the browser (mydomain.net:8088) I get an error:

"Internet Explorer Mobile不支持这种类型的地址,因此无法显示此页面".

"Internet Explorer Mobile doesn't support this type of address and can't display this page".

是否有解决方法或使WP8打开该URL的方法?我真的不想使用反向代理,因为我正在尝试测试在该端口上运行的websocket应用程序.

Is there a workaround or something to get WP8 opening that URL?! I don't really want to use a reverse proxy since I'm trying to test a websocket application running on that port.

推荐答案

(如

(As suggested by Luke Puplett, here is my answer)

我的假设是您只是忘记指定协议.所以不用打字

My assumption is that you simply forgot to specify the protocol. So instead of typing

mydomain.net:8088

我建议尝试使用

http://mydomain.net:8088

以便浏览器知道如何在"8088"之前解释:(即,作为端口分隔符,而不是协议分隔符).

So that the browser knows how to interpret the : before the "8088" (i.e. as a port separator, not as a protocol separator).

这篇关于Windows Phone:可以使用:port打开URL吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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