@danyus14 are u using laragon in production?
Problem with Laravel app with server connection production
Hi!, I'm posting this problem because I'm seaching everywhere and I don't find anything related to this.
I have managed to create an web-app in Laravel that connects to a user database and have a user system and several views and controllers, everything seems to be ok at developing level, but we are having some issues with the server-side,
We are using a dedicated hosting in ionos, and we made the develop of that app on Windows with Laragon program and php-artisan-serve commands, I have run several commands for clean and setup the app,
php artisan clear-compiled php artisan view:clear php artisan config:cache php artisan route:cache php artisan cache:clear php artisan optimize I have started the app with
npm run production and php artisan serve 0.0.0.0 host--xxxx and everything it's working fine, but sometimes the app stops working and we have to re build and start laragon and the CMD with the commands again,
we also have communicated to the server owner and they told to us that they dont have problems and also switched to another more powerfull server,
I don't know if laravel could not be develped on windows server-side or we have to use something like Laravel Vapor or Forge
but it's strange because everything works great, on the CDM sometimes shows this error
"An existing connection was forcibly closed by the remote host"
The app connects to the database in another dedicated hosting of the same owner (IONOS)
also i have searched on the apache log and find these errors
[Thu Apr 08 15:54:44.374117 2021] [mpm_winnt:notice] [pid 10168:tid 632] AH00422: Parent: Received shutdown signal -- Shutting down the server. Apache server interrupted...
021] [mpm_winnt:notice] [pid 9900:tid 568] AH00354: Child: Starting 64 worker threads.
[Thu Apr 08 15:54:44.389745 2021] [mpm_winnt:error] [pid 9900:tid 1128] (OS 10038)Se intentó realizar una operación en un elemento que no es un socket. : AH00332: winnt_accept: getsockname error on listening socket, is IPv6 available?
[Thu Apr 08 15:54:46.403265 2021] [mpm_winnt:notice] [pid 9900:tid 568] AH00364: Child: All worker threads have exited.
[Thu Apr 08 15:54:46.450145 2021] [mpm_winnt:notice] [pid 10168:tid 632] AH00430: Parent: Child process 9900 exited successfully.
[Fri Apr 09 07:29:34.136935 2021] [mpm_winnt:notice] [pid 12340:tid 584] AH00455: Apache/2.4.35 (Win64) OpenSSL/1.1.1b PHP/7.2.19 configured -- resuming normal operations
anything that could help? if you need more details tell me and i will reply immediately , thanks everyone!
Please or to participate in this conversation.