Site Can't Be Reached - changed port numbers

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

Site Can't Be Reached - changed port numbers

Postby stevemd » 26. June 2017 21:25

I've changed the port numbers according to instructions and am able to reach the dashboard localhost:10080/dashboard/ AND phpmyadmin localhost:10080/phpmyadmin/ but cannot connect to any of the sites I've set up in htdocs which works when the port number is the default 80 / 443.

The url I use in the browser is localhost:10080/sitename/ which returns the error

This site can’t be reached

localhost refused to connect.

ERR_CONNECTION_REFUSED


I've followed the details in the guide from Altrea (https://community.apachefriends.org/f/viewtopic.php?f=16&t=69784#p239064)

What am I missing?

Not sure if any of this will help you help me but here is a copy of today's apache error log.

[Mon Jun 26 10:01:06.822381 2017] [ssl:warn] [pid 5904:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 10:01:06.862383 2017] [core:warn] [pid 5904:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 10:01:06.945388 2017] [ssl:warn] [pid 5904:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 10:01:07.200402 2017] [mpm_winnt:notice] [pid 5904:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 10:01:07.200402 2017] [mpm_winnt:notice] [pid 5904:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 10:01:07.200402 2017] [core:notice] [pid 5904:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 10:01:07.221404 2017] [mpm_winnt:notice] [pid 5904:tid 256] AH00418: Parent: Created child process 5900
[Mon Jun 26 10:01:08.083453 2017] [ssl:warn] [pid 5900:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 10:01:08.205460 2017] [ssl:warn] [pid 5900:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 10:01:08.348468 2017] [mpm_winnt:notice] [pid 5900:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 13:21:23.481694 2017] [ssl:warn] [pid 11948:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:21:23.517696 2017] [core:warn] [pid 11948:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 13:21:23.601701 2017] [ssl:warn] [pid 11948:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:21:23.751710 2017] [mpm_winnt:notice] [pid 11948:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 13:21:23.751710 2017] [mpm_winnt:notice] [pid 11948:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 13:21:23.751710 2017] [core:notice] [pid 11948:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 13:21:23.773711 2017] [mpm_winnt:notice] [pid 11948:tid 256] AH00418: Parent: Created child process 11104
[Mon Jun 26 13:21:24.668762 2017] [ssl:warn] [pid 11104:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:21:24.787769 2017] [ssl:warn] [pid 11104:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:21:24.935778 2017] [mpm_winnt:notice] [pid 11104:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 13:34:15.151831 2017] [ssl:warn] [pid 6192:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:34:15.187833 2017] [core:warn] [pid 6192:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 13:34:15.271838 2017] [ssl:warn] [pid 6192:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:34:15.295840 2017] [mpm_winnt:notice] [pid 6192:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 13:34:15.295840 2017] [mpm_winnt:notice] [pid 6192:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 13:34:15.295840 2017] [core:notice] [pid 6192:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 13:34:15.308840 2017] [mpm_winnt:notice] [pid 6192:tid 256] AH00418: Parent: Created child process 11780
[Mon Jun 26 13:34:15.929876 2017] [ssl:warn] [pid 11780:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:34:16.049883 2017] [ssl:warn] [pid 11780:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:34:16.078884 2017] [mpm_winnt:notice] [pid 11780:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 13:37:32.121097 2017] [ssl:warn] [pid 11720:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:37:32.159100 2017] [core:warn] [pid 11720:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 13:37:32.242104 2017] [ssl:warn] [pid 11720:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:37:32.265106 2017] [mpm_winnt:notice] [pid 11720:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 13:37:32.265106 2017] [mpm_winnt:notice] [pid 11720:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 13:37:32.265106 2017] [core:notice] [pid 11720:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 13:37:32.287107 2017] [mpm_winnt:notice] [pid 11720:tid 256] AH00418: Parent: Created child process 1060
[Mon Jun 26 13:37:32.771135 2017] [ssl:warn] [pid 1060:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:37:32.890141 2017] [ssl:warn] [pid 1060:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:37:32.916143 2017] [mpm_winnt:notice] [pid 1060:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 13:47:57.978894 2017] [ssl:warn] [pid 7476:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:47:58.020897 2017] [core:warn] [pid 7476:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 13:47:58.103902 2017] [ssl:warn] [pid 7476:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:47:58.127903 2017] [mpm_winnt:notice] [pid 7476:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 13:47:58.127903 2017] [mpm_winnt:notice] [pid 7476:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 13:47:58.127903 2017] [core:notice] [pid 7476:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 13:47:58.142904 2017] [mpm_winnt:notice] [pid 7476:tid 256] AH00418: Parent: Created child process 11820
[Mon Jun 26 13:47:58.624931 2017] [ssl:warn] [pid 11820:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:47:58.741938 2017] [ssl:warn] [pid 11820:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:47:58.766939 2017] [mpm_winnt:notice] [pid 11820:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 13:51:23.106627 2017] [ssl:warn] [pid 10892:tid 256] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:51:23.142629 2017] [core:warn] [pid 10892:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 13:51:23.224634 2017] [ssl:warn] [pid 10892:tid 256] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:51:23.247635 2017] [mpm_winnt:notice] [pid 10892:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 13:51:23.247635 2017] [mpm_winnt:notice] [pid 10892:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 13:51:23.247635 2017] [core:notice] [pid 10892:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 13:51:23.261636 2017] [mpm_winnt:notice] [pid 10892:tid 256] AH00418: Parent: Created child process 9432
[Mon Jun 26 13:51:23.739663 2017] [ssl:warn] [pid 9432:tid 268] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:51:23.857670 2017] [ssl:warn] [pid 9432:tid 268] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 13:51:23.882671 2017] [mpm_winnt:notice] [pid 9432:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 14:02:06.213733 2017] [ssl:warn] [pid 8772:tid 256] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:02:06.337740 2017] [core:warn] [pid 8772:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 14:02:06.477748 2017] [ssl:warn] [pid 8772:tid 256] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:02:07.056781 2017] [mpm_winnt:notice] [pid 8772:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 14:02:07.056781 2017] [mpm_winnt:notice] [pid 8772:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 14:02:07.056781 2017] [core:notice] [pid 8772:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 14:02:07.114785 2017] [mpm_winnt:notice] [pid 8772:tid 256] AH00418: Parent: Created child process 9380
[Mon Jun 26 14:02:09.615928 2017] [ssl:warn] [pid 9380:tid 268] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:02:10.008950 2017] [ssl:warn] [pid 9380:tid 268] AH01909: www.example.com:1443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:02:10.355970 2017] [mpm_winnt:notice] [pid 9380:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 14:18:49.922744 2017] [ssl:warn] [pid 7224:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:18:49.953944 2017] [core:warn] [pid 7224:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 14:18:50.031944 2017] [ssl:warn] [pid 7224:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:18:50.063144 2017] [mpm_winnt:notice] [pid 7224:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 14:18:50.063144 2017] [mpm_winnt:notice] [pid 7224:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 14:18:50.063144 2017] [core:notice] [pid 7224:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 14:18:50.078744 2017] [mpm_winnt:notice] [pid 7224:tid 256] AH00418: Parent: Created child process 8504
[Mon Jun 26 14:18:50.516545 2017] [ssl:warn] [pid 8504:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:18:50.641345 2017] [ssl:warn] [pid 8504:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:18:50.672545 2017] [mpm_winnt:notice] [pid 8504:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 14:22:48.090488 2017] [ssl:warn] [pid 9724:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:22:48.121688 2017] [core:warn] [pid 9724:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 14:22:48.205089 2017] [ssl:warn] [pid 9724:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:22:48.229091 2017] [mpm_winnt:notice] [pid 9724:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 14:22:48.229091 2017] [mpm_winnt:notice] [pid 9724:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 14:22:48.229091 2017] [core:notice] [pid 9724:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 14:22:48.238091 2017] [mpm_winnt:notice] [pid 9724:tid 256] AH00418: Parent: Created child process 9744
[Mon Jun 26 14:22:48.684892 2017] [ssl:warn] [pid 9744:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:22:48.811693 2017] [ssl:warn] [pid 9744:tid 268] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 14:22:48.827293 2017] [mpm_winnt:notice] [pid 9744:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 15:03:17.485047 2017] [ssl:warn] [pid 2036:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 15:03:17.516247 2017] [core:warn] [pid 2036:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 15:03:17.594247 2017] [ssl:warn] [pid 2036:tid 256] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 15:03:17.750247 2017] [mpm_winnt:notice] [pid 2036:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 15:03:17.750247 2017] [mpm_winnt:notice] [pid 2036:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 15:03:17.750247 2017] [core:notice] [pid 2036:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 15:03:17.765847 2017] [mpm_winnt:notice] [pid 2036:tid 256] AH00418: Parent: Created child process 4528
[Mon Jun 26 15:06:40.625222 2017] [ssl:warn] [pid 8680:tid 256] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 15:06:40.699023 2017] [core:warn] [pid 8680:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 15:06:40.792623 2017] [ssl:warn] [pid 8680:tid 256] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 15:06:40.823823 2017] [mpm_winnt:notice] [pid 8680:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 15:06:40.823823 2017] [mpm_winnt:notice] [pid 8680:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 15:06:40.823823 2017] [core:notice] [pid 8680:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 15:06:40.839423 2017] [mpm_winnt:notice] [pid 8680:tid 256] AH00418: Parent: Created child process 8688
[Mon Jun 26 15:06:41.588225 2017] [ssl:warn] [pid 8688:tid 268] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 15:06:41.713025 2017] [ssl:warn] [pid 8688:tid 268] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 15:06:41.853425 2017] [mpm_winnt:notice] [pid 8688:tid 268] AH00354: Child: Starting 150 worker threads.
[Mon Jun 26 16:06:24.041457 2017] [ssl:warn] [pid 4288:tid 256] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 16:06:24.088257 2017] [core:warn] [pid 4288:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jun 26 16:06:24.166257 2017] [ssl:warn] [pid 4288:tid 256] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 16:06:24.181857 2017] [mpm_winnt:notice] [pid 4288:tid 256] AH00455: Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.23 configured -- resuming normal operations
[Mon Jun 26 16:06:24.181857 2017] [mpm_winnt:notice] [pid 4288:tid 256] AH00456: Apache Lounge VC11 Server built: Oct 13 2015 10:54:13
[Mon Jun 26 16:06:24.181857 2017] [core:notice] [pid 4288:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jun 26 16:06:24.197457 2017] [mpm_winnt:notice] [pid 4288:tid 256] AH00418: Parent: Created child process 10948
[Mon Jun 26 16:06:24.651858 2017] [ssl:warn] [pid 10948:tid 268] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 16:06:24.763058 2017] [ssl:warn] [pid 10948:tid 268] AH01909: www.example.com:10443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 26 16:06:24.794259 2017] [mpm_winnt:notice] [pid 10948:tid 268] AH00354: Child: Starting 150 worker threads.

Thank you for any help you can pass my way.

- Steve D.
stevemd
 
Posts: 7
Joined: 07. July 2016 19:47
XAMPP version: 3.2.2
Operating System: Win 7

Re: Site Can't Be Reached - changed port numbers

Postby Altrea » 26. June 2017 23:55

htaccess or redirect. Application configuration issue thats for sure.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Site Can't Be Reached - changed port numbers

Postby stevemd » 26. June 2017 23:58

They are all WordPress sites in the htdocs folder.

But when the port numbers are the default 80 and 443, all the sites work perfectly.

Is there something else that needs to be changed when the apache port numbers are changed per your guide?
stevemd
 
Posts: 7
Joined: 07. July 2016 19:47
XAMPP version: 3.2.2
Operating System: Win 7

Re: Site Can't Be Reached - changed port numbers

Postby Altrea » 27. June 2017 05:19

See my reply. If the htaccess or site configurarion of wordpress contains still the information that the site is accessible on port 80 or 443 its frontcontroller and url building mechanic will route you to this wrong port.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Site Can't Be Reached - changed port numbers

Postby Nobbie » 27. June 2017 09:55

stevemd wrote:
I've followed the details in the guide from Altrea (viewtopic.php?f=16&t=69784#p239064)

What am I missing?


Obviously you totally overlooked the intro of that guide. It starts with: "Changing the Apache ports has some sideeffects:"! And there are some important points, which you seems to have overlooked totally. As there is "append port to every request" as well as "configurable Third Party Webapplications" and finally "unconfigurable Third Party Webapplications".

You seems to have installed WordPress (a Third Party Webapplication) on localhost, but after changing the ports, localhost is no more valid, it must be localhost:10080 instead. And WordPress stores the information from the installation(!) time in configuration files, into the database and also in .htaccess. You have to tell WordPress as well that you have changed the ports. That is one of many reasons why we do not recommend to change the default Apache ports. These sideeffects can be very annoying. Thats what you are missing.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Site Can't Be Reached - changed port numbers

Postby stevemd » 28. June 2017 01:00

Sorry to have troubled you.
stevemd
 
Posts: 7
Joined: 07. July 2016 19:47
XAMPP version: 3.2.2
Operating System: Win 7

Re: Site Can't Be Reached - changed port numbers

Postby stevemd » 29. June 2017 19:58

SOLVED! :D

Thank you Altrea & Nobbie for pointing me in the right direction. Granted, it reminded me of my Father teaching me how to swim by tossing me into the deep end of the pool - I quickly learned several wrong ways but eventually learned the correct way. :oops:

With WordPress, in addition to everything I did based on the guide from Altrea, I simply deleted the database then re-installed a fresh database from the live site. I was trying to use a copy or backup of the original localhosted database and that is what was not working.

It has to be a fresh database copy off the live site.
stevemd
 
Posts: 7
Joined: 07. July 2016 19:47
XAMPP version: 3.2.2
Operating System: Win 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 111 guests