I have problem with XAMPP 5.6.23

Problems with the Windows version of XAMPP, questions, comments, and anything related.

I have problem with XAMPP 5.6.23

Postby SamGill » 14. August 2016 08:33

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!
SamGill
 
Posts: 2
Joined: 14. August 2016 07:59
XAMPP version: 5.6.23
Operating System: windows

Re: I have problem with XAMPP 5.6.23

Postby Altrea » 14. August 2016 15:43

Hi,

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

Best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: I have problem with XAMPP 5.6.23

Postby Nobbie » 14. August 2016 18:13

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.
Nobbie
 
Posts: 8783
Joined: 09. March 2008 13:04

Re: I have problem with XAMPP 5.6.23

Postby SamGill » 15. August 2016 08:34

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!
SamGill
 
Posts: 2
Joined: 14. August 2016 07:59
XAMPP version: 5.6.23
Operating System: windows

Re: I have problem with XAMPP 5.6.23

Postby Altrea » 15. August 2016 12:16

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: ben.mansuk and 60 guests