无法在 monodevelop 上运行 ASP.NET 应用程序

发布于 2024-12-24 23:01:25 字数 676 浏览 2 评论 0原文

我在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

箜明 2024-12-31 23:01:25

如果您从终端运行“netstat -tlnp”,它是否确认 xsp2 确实正在侦听端口 8080?您正在输出中寻找类似于以下内容的一行:

LISTEN            8080/xsp

如果它似乎确实在监听,那么接下来要尝试的是捆绑的示例应用程序之一。如果您运行 /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:

LISTEN            8080/xsp

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.

从﹋此江山别 2024-12-31 23:01:25

看起来是 chrome 相关的问题,将 firefox 设置为默认值。现在工作正常

It looks to be a chrome-related problem, set firefox as default. Working fine now

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文