external browser preview in localhost:8080

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
firebuff55123
Posts: 9
Joined: Sat May 08, 2010 6:18 am

external browser preview in localhost:8080

Post by firebuff55123 »

my preview worked perfectly when my apache server used port 80.
But when I reconfigured apache to use port 8080 instead I cannot
get the external preview to use localhost:8080 INSTEAD of the
former localhost only.

i am NEW to apache. How do I get rapidphp to use localhost:8080
for the preview.

the documentation i've read is very unclear on this subject.

firebuff55123
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: external browser preview in localhost:8080

Post by notuo »

Try
Options / Preferences (Menu)

Preview / Script Preview /Web server settings (button)

There is the port...
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: external browser preview in localhost:8080

Post by Karlis »

Options - Preferences - Preview - Script Preview - Web Server Settings (if you use built-in web server) allows you to change port for internal web server.

BUT if you use external web server, e.g. Apache and want to use custom port, you MUST use appropriate mappings. So you must change localhost to localhost:8080.

http://localhost/ will no more be valid for obvious reasons (neither will it work in a web browser). If you use any other port than 80, you must append that port to the domain / host name, so for localhost, you would have to use http://localhost:8080/ This is not our invention. It is a common concept in networking.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Blu75w3b29
Posts: 2
Joined: Wed Mar 09, 2011 5:20 am

Re: external browser preview in localhost:8080

Post by Blu75w3b29 »

I have tried that but I think the port is fixed to 80 only. I have tried to change it and doesn’t work the way I wanted to. So I returned I to 80, but someone told me that changing the port to 8080 and reinstalling the apache may work.
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Re: external browser preview in localhost:8080

Post by Capricorn »

I recently experienced the same problem with easyphp whose default port is 8888. It didn't work either.
Post Reply