ASP .NET 开发服务器端口

发布于 2024-07-14 09:45:36 字数 422 浏览 4 评论 0原文

假设在使用 VWD 进行调试时,ASP .NET 开发服务器在端口 4754 上运行。(托盘图标)。

调试页面在 http://localhost:4750 打开,每次我必须在地址栏中输入正确的地址。 http://localhost:4754

换句话说 http://localhost 端口, 始终是 ASP .NET 开发服务器端口减 4

为什么调试页面未在与托盘图标中显示的端口相同的端口中打开?

Supposing that while debugging with VWD the ASP .NET Development server runs at port 4754. (tray icon).

The page for debug is opening at http://localhost:4750 and every time i have to type in the address bar the correct address. http://localhost:4754

In other words the http://localhost port,
is always the ASP .NET Development server port minus 4

Why the page for debug is not opening in the same port with the one shown in the tray icon?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

森罗 2024-07-21 09:45:36

您使用 ESET 安全软件吗?

我遇到了这个问题,但我一直无法解决它。 不过我发现了这个链接,也许它会对您有所帮助。 另外,请务必检查该页面上的评论,以防主要文章无法解决问题。

Are you using ESET security?

I had this problem, but I never was able to fix it. I came across this link though, maybe it will help you. Also be sure to check the comments on that page in case the main article didn't resolve the issue.

夏末染殇 2024-07-21 09:45:36

默认情况下,Visual Studio 将自动分配端口。 我不确定为什么你的页面没有与 cassini 服务器同步,但我知道你可以将 Visual Studio 配置为使用静态端口。 转到项目的选项页面并查找 Web 选项卡。 应该有一个 Servers 部分,其中包含一个使用 Visual Studio Development Server 选项,并且在其中您可以选择 自动分配端口>特定端口。 您可以尝试设置特定端口,看看是否会获得更好的结果。 (这些说明是使用 VS2005 和 VB 项目作为指南编写的 - ymmv)。

By default Visual Studio will auto-assign the port. I'm not sure why yours is not syncing the page with the cassini server, but I do you can configure Visual Studio to use a static port instead. Go to your project's options page and look for the Web tab. There should be a Servers sections with an option to Use Visual Studio Development Server and inside of that you can choose Auto-assign Port or Specific port. You could try setting a specific port and see if you get any better results. (These instructions were written using a VS2005 and VB project as a guide- ymmv).

獨角戲 2024-07-21 09:45:36

网站的项目设置(使用什么端口和打开什么页面)是什么? 是否有多个站点可以调用另一个端口来使用?

What are the project settings for the web site in terms of what port to use and what page to open? Are there multiple sites for which another port may be called in to be used?

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