How to change port from 8020 to 80 in Aptana 3.0

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

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

but it doesnโ€™t display anything. If I change the port to 80 or just delete it like this:

http://127.0.0.1/MyAccount/index.php

then everything works - the question is , how can I say "Aptana go to the new link that I have (so that I can see the file) and usually the problem.

I am using a Wamp server if this helps solve the problem.

+4
source share
4 answers

Go to Run> Run Configurations.

After that, go to the "Web Browser" section, select your preferred web browser. On the right inside the server section, check the "Use selected server" option and configure your server by following the instructions. When you enter the URL, be sure to add to the ip address followed by the project folder.

Hope this helps.

+4
source

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

To start the configuration, select Web Browser, then select the browser you want to use. Then, in the main tab, find the base URL and click on it. Enter http://localhost/ and make sure you check the name of the add project.

Make sure your index page name is index.html or index.php if you are using php and trying to run it.

+4
source

In the project properties> Preview Options, you can specify a specific server.

NTN

-Rb

0
source

Change port: Aptana Studio 3, you must restart after changing the settings.

Settings> Aptana Studio> Web Servers> Embedded

0
source

Source: https://habr.com/ru/post/1382504/


All Articles