Problems with the Windows version of XAMPP, questions, comments, and anything related.
by stman » 12. January 2016 02:15
As of now my xampp installation opens the index.html page using localhost:8080 (made the changes in config file from 80 to 8080). How can I make localhost/index.html work?
Thanks
-
stman
-
- Posts: 3
- Joined: 12. January 2016 01:46
- Operating System: Windows 10
by Altrea » 12. January 2016 03:08
change Apache to listen on port 80. Thats the only way.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!It's like porn for programmers
-
Altrea
- AF Moderator
-
- Posts: 11935
- Joined: 17. August 2009 13:05
- XAMPP version: several
- Operating System: Windows 11 Pro x64
by stman » 12. January 2016 06:58
Well how does the computer know localhost is port 80?
Is that coded into xampp or into Windows?
-
stman
-
- Posts: 3
- Joined: 12. January 2016 01:46
- Operating System: Windows 10
by Altrea » 12. January 2016 12:36
If no port is given in the URL it is defined by the used protocol.
If your URL starts with http:// port 80 is used, if it is https:// port 443 is used, ftp:// port 21, etc.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!It's like porn for programmers
-
Altrea
- AF Moderator
-
- Posts: 11935
- Joined: 17. August 2009 13:05
- XAMPP version: several
- Operating System: Windows 11 Pro x64
by Nobbie » 12. January 2016 13:54
stman wrote:Well how does the computer know localhost is port 80?
Is that coded into xampp or into Windows?
Port 80 is the default Port for protocoll http, thus
http://localhost:80 is the same as
http://localhost
-
Nobbie
-
- Posts: 13179
- Joined: 09. March 2008 13:04
by stman » 12. January 2016 18:21
Oh ok, so it is built into the browsers. right?
-
stman
-
- Posts: 3
- Joined: 12. January 2016 01:46
- Operating System: Windows 10
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 202 guests