如何在Aptana 3.0中将端口从8020更改为80

发布于 2024-12-17 13:51:17 字数 473 浏览 8 评论 0原文

当我在 Firefox 上从 aptana 运行文件时(我单击 Aptana 上的绿色小播放按钮),我在 Firefox 上收到此链接:

http://127.0.0.1:8020/MyAccount/index.php

但这不会显示任何内容。如果我将端口更改为 80 或者像这样删除它:

http://127.0.0.1/MyAccount/index .php

然后一切正常 - 问题是 - 我如何“告诉”Aptana 转到我拥有的新链接(以便我可以看到该文件)以及通常的问题是什么。

我如果可以帮助解决问题,请使用 wamp 服务器。

When I run my file from aptana on firefox (I click the little green play button on Aptana) I get this link on my firefox:

http://127.0.0.1:8020/MyAccount/index.php

but that doesn't displays anything. If I change the port to 80 or just delete it like this:

http://127.0.0.1/MyAccount/index.php

then all works - the question is - how do I "tell" Aptana to go to the new link I have (so I can see the file) and what is generally the problem.

I use wamp server if that can help solving the problem.

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

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

发布评论

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

评论(4

故事还在继续 2024-12-24 13:51:18

转到菜单“运行”>“运行配置”。

进入后,转到“网络浏览器”部分,选择您喜欢的网络浏览器。在服务器部分的右侧,勾选“使用所选服务器”选项并按照说明配置您的服务器。当您输入 URL 时,请不要忘记添加 IP 地址,后跟您的项目文件夹。

希望这有帮助。

go to menu Run>Run configurations.

Once in there, go to the Web Browser section, choose your prefered web browser. On the right inside in the server section, tick the "Use selected Server" option and configure your server by following the instruction. When you enter the URL don't forget to add to the ip address followed by your project folder.

Hope this helps.

违心° 2024-12-24 13:51:18

我使用 XAMMP 作为我的服务器,所以我不确定这是否适用于 WAMMP。

转到运行配置,选择 Web 浏览器,然后选择您要使用的浏览器。然后在主选项卡中找到“使用基本 URL”并单击它。输入 http://localhost/ 并确保检查附加项目名称。

如果您使用的是 php,请确保您的索引页面的名称是index.html 或index.php 并尝试运行它。

I use XAMMP as my server so I'm not sure if this will work with WAMMP.

Go to run configurations select Web Browser then choose which browser you want to use. Then in the main tab find use base URL and click on it. Enter http://localhost/ and make sure that you check the append project name.

Make sure that your index page's name is index.html or index.php if hou are using php and try running it.

羞稚 2024-12-24 13:51:18

在项目属性>您可以将预览设置指向特定的服务器。

HTH

-Rb

In the Project Properties > Preview Settings you can point to the specific server.

HTH

-Rb

つ可否回来 2024-12-24 13:51:18

更改端口:Aptana Studio 3,更改设置后需要重新启动。

首选项>Aptana Studio>Web 服务器>内置

Change Port: Aptana Studio 3, Needed restart after changing the setting.

Preferences>Aptana Studio>Web Servers>Built In

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