Reputation: 7758
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.
Upvotes: 4
Views: 7975
Reputation: 401
Change Port: Aptana Studio 3, Needed restart after changing the setting.
Preferences>Aptana Studio>Web Servers>Built In
Upvotes: 0
Reputation: 1302
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.
Upvotes: 4
Reputation: 56
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.
Upvotes: 4
Reputation: 1
In the Project Properties > Preview Settings you can point to the specific server.
HTH
-Rb
Upvotes: 0