Page 1 of 1

I have problem with XAMPP 5.6.23

PostPosted: 14. August 2016 08:33
by SamGill
Dear Sir,

I have an issue with it. This is not a critical issue but for me it is irritating. Please provide me your precious insights for it. The issue which I am encountering is that whenever I write address in browser address bar like " http://localhost ", it doesn't get me anywhere but when I write address like this " http://localhost:1234 " then it opens the XAMPP page. It is the problem, it should work as writing localhost instead of localhost:1234. I mean it should work without writing the port address in browser bar. I have tried all the browsers like firefix, chrome, opera,Internet explorer, Edge etc but didn'tsort out this issue Below is the two screen shot links which represents my issue. This is a google drive link, folder name as "Error or image files";

https://drive.google.com/folderview?id=0B9DBJFdrrDVPVXVLaU9YTmktSU0&usp=sharing







Thank You!

Re: I have problem with XAMPP 5.6.23

PostPosted: 14. August 2016 15:43
by Altrea
Hi,

You can only omit the port inter URL if Apache is listening on the HTTP default port 80.

Best wishes,
Altrea

Re: I have problem with XAMPP 5.6.23

PostPosted: 14. August 2016 18:13
by Nobbie
The Port number is part of the URL, that means that you have to specify the port number always. But HTTP uses Port 80 as "default Port", so if you dont apply a port number, all browsers use Port 80. Therefore http://localhost:80 is exactly the same as http://localhost.

BUT if you dont use Port 80, you cannot ommit the Port number, as the browser then again would take Port 80. So if you use Port 1234, you cannot ommit that port number, you must use http://localhost:1234

That is the reason, why we do not recommend to use a different Port for HTTP than Port 80. It looks quite ugly also.

Re: I have problem with XAMPP 5.6.23

PostPosted: 15. August 2016 08:34
by SamGill
Oh...That was the problem, I didn't even think, by changing the port willget me to this issue. So it means if I do change the port back to Port:80 then I don't have to worry and would work as the http://localhost rather than http://localhost:1234.

By the way thank you so much @Altera and @Nobbie for your guidance.

Take Care!

Re: I have problem with XAMPP 5.6.23

PostPosted: 15. August 2016 12:16
by Altrea
SamGill wrote:So it means if I do change the port back to Port:80 then I don't have to worry and would work as the http://localhost rather than http://localhost:1234.

yes.

SamGill wrote:By the way thank you so much @Altera and @Nobbie for your guidance.

No problem. You are welcome :D