无法在 monodevelop 上运行 ASP.NET 应用程序
我在 Ubuntu 11.10
上,安装了 Monodevelop-2.8.5
,第一次运行时,它说 xsp2 服务器
丢失,我安装了那个。
现在,应用程序已成功构建,但是,当我运行应用程序时,它只是打开 google chrome(而不是我的应用程序)。问题是什么?
应用程序输出是,
Registering application:
Host: any
Port: any
Virtual path: /
Physical path: /home/tarun/MyWebsite/MyWebsite/
xsp2
Listening on address: 127.0.0.1
Root directory: /home/tarun/MyWebsite/MyWebsite
Listening on port: 8080 (non-secure)
当我尝试在 Chrome 上打开 127.0.0.1:8080
时,出现以下错误:
哎呀! Google Chrome 无法连接到 127.0.0.1:8080
但是,127.0.0.1
工作得很好。
I'm on Ubuntu 11.10
, have installed Monodevelop-2.8.5
, on the first run, it said the xsp2 server
was missing, I installed that.
Now, the application builds successfully, but, when I run my application, it just opens google chrome (and not my application). What is the problem?
The application output is,
Registering application:
Host: any
Port: any
Virtual path: /
Physical path: /home/tarun/MyWebsite/MyWebsite/
xsp2
Listening on address: 127.0.0.1
Root directory: /home/tarun/MyWebsite/MyWebsite
Listening on port: 8080 (non-secure)
When I try to open, 127.0.0.1:8080
on chrome, I get the following error :
Oops! Google Chrome could not connect to 127.0.0.1:8080
But, 127.0.0.1
works just fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您从终端运行“netstat -tlnp”,它是否确认 xsp2 确实正在侦听端口 8080?您正在输出中寻找类似于以下内容的一行:
如果它似乎确实在监听,那么接下来要尝试的是捆绑的示例应用程序之一。如果您运行 /usr/lib/xsp/test/xsp 那么您应该能够从 Chrome 连接到 127.0.0.1:8080 并看到示例应用程序正在运行。
If you run "netstat -tlnp" from the terminal does it confirm that xsp2 really is listening on port 8080? You're looking for a line in the output something like:
If it does seem to be listening, the next thing to try is one of the bundled sample applications. If you run /usr/lib/xsp/test/xsp then you should hopefully be able to connect to 127.0.0.1:8080 from Chrome and see the sample application running.
看起来是 chrome 相关的问题,将
firefox
设置为默认值。现在工作正常It looks to be a chrome-related problem, set
firefox
as default. Working fine now