3 months ago
I've deployed my Laravel application, but I haven't been successful. I've configured my port as 8080 in the configuration as suggested in other threads, but this doesn't solve the problem. I've configured everything and put a php artisan migrate in the deploy command, the database seems to connect well, but I don't know why it keeps giving me a 502 error.
Application failed to respond
This error appears to be caused by the application.
If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.
If you are a visitor, please contact the application owner or try again later.
Request ID:
EvViGzyhR8WjhxDtCx5-qw
9 Replies
3 months ago
Check the deployment logs for any errors, and make sure the code is listening on the same port that you configured in the network settings. Do you have example code that reproduces this problem, maybe just the part that listens on the port?
erisa
Check the deployment logs for any errors, and make sure the code is listening on the same port that you configured in the network settings. Do you have example code that reproduces this problem, maybe just the part that listens on the port?
3 months ago
This is HTTP Logs
Attachments
3 months ago
Try not to use custom port (8080) because I also use Laravel and the working port is 9000. You can also see and use the port that appears in Deploy Logs.
Attachments
3 months ago
I'm facing the same issue on my newly deployed laravel project to railway, I need help please.
emmakade
I'm facing the same issue on my newly deployed laravel project to railway, I need help please.
3 months ago
Application failed to respond
This error appears to be caused by the application.
If this is your project, check out your deploy logs to see what went wrong. Refer to our docs on Fixing Common Errors for help, or reach out over our Help Station.
If you are a visitor, please contact the application owner or try again later.
Request ID:
31kFY4FTRWCRNSYNYqdHTg
faishal
Try not to use custom port (8080) because I also use Laravel and the working port is 9000. You can also see and use the port that appears in Deploy Logs.
3 months ago
can you help to get this error 502 fixed?
3 months ago
73c55a9b-d265-4394-a004-028c92e092e2
emmakade
73c55a9b-d265-4394-a004-028c92e092e2
3 months ago
FYI the default port is 8000
. If this still doesn't work please send the deployment logs.
loudbook
FYI the default port is 8000. If this still doesn't work please send the deployment logs.
3 months ago
Starting Container
INFO Caching framework bootstrap, configuration, and metadata.
config ......................................................... 9.90ms DONE
events ......................................................... 1.36ms DONE
routes ........................................................ 11.79ms DONE
views ......................................................... 22.43ms DONE
INFO Configuration cached successfully.
INFO Routes cached successfully.
INFO Blade templates cached successfully.
INFO Nothing to migrate.
INFO Server running on [http://0.0.0.0:8080].
Press Ctrl+C to stop the server