a year ago
I can't seem to get the port bindings right for my project. Its a Laravel Livewire application.
Deployment binds to port 8080.
My build command is as follows:
NIX_PACKS_BUILD_CMD=npm run build && php artisan migrate --force
Final deployment log entry is
...
[server:info] Server starting on port 8080
My Network settings are as follows: ecmp-production.up.railway.app Port: 9000
I've had no luck trying the following alternative configurations:
adding a PORT variable in my .env file and setting it to 9000 or 8080
adding
php artisan serve --port 9000to the build command
2 Replies
a year ago
In my case this worked for me:
I changed the port in my project settings, go to network section and edit the port, in your case 8080, save and test
angelalmanza
In my case this worked for me:I changed the port in my project settings, go to network section and edit the port, in your case 8080, save and test
10 months ago
Thanks! that worked for me too!
Status changed to Solved brody • 11 months ago


