First Time Deploying on Railway – Need Help
adrianoopereira
FREEOP

2 months ago

Hi everyone!

I’m new to the field, and this is my first time deploying an application on Railway.

I’m having some trouble getting my app to run and would really appreciate the community’s help.

So far, I’ve only configured port 8080 in the settings, but the application still isn’t starting properly.

Below are some log snippets I’m getting:

$10 Bounty

11 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Doesn't look like the snippets came through. Can you try sending them again?


adrianoopereira
FREEOP

2 months ago

dev:80 100.64.0.2 - - [20/Oct/2025:19:00:42 +0000] "GET / HTTP/1.0" 400 613 "-" "-"

dev:80 100.64.0.2 - - [20/Oct/2025:19:01:35 +0000] "GET / HTTP/1.0" 400 613 "-" "-"

dev:80 100.64.0.7 - - [21/Oct/2025:17:59:13 +0000] "GET / HTTP/1.0" 400 613 "-" "-"

dev:80 100.64.0.7 - - [21/Oct/2025:17:59:27 +0000] "GET / HTTP/1.0" 400 613 "-" "-"

[Tue Oct 21 18:22:33.285217 2025] [autoindex:error] [pid 14] [client 100.64.0.3:50410] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

100.64.0.3 - - [21/Oct/2025:18:22:33 +0000] "GET / HTTP/1.1" 403 466 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"

[Tue Oct 21 18:22:37.408510 2025] [autoindex:error] [pid 14] [client 100.64.0.3:50410] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

100.64.0.3 - - [21/Oct/2025:18:22:37 +0000] "GET / HTTP/1.1" 403 466 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"

[Tue Oct 21 18:22:52.146277 2025] [autoindex:error] [pid 15] [client 100.64.0.3:35124] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

100.64.0.3 - - [21/Oct/2025:18:22:52 +0000] "GET / HTTP/1.1" 403 466 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"

[Tue Oct 21 18:24:23.045756 2025] [autoindex:error] [pid 16] [client 100.64.0.8:25190] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive

100.64.0.8 - - [21/Oct/2025:18:24:23 +0000] "GET / HTTP/1.1" 403 466 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"


What error do you see on the client when you try to access it?


adrianoopereira
FREEOP

2 months ago

18:39:19.312 GET

https://catequese-production-d014.up.railway.app/

[HTTP/2 502 280ms]


Have you configured the port for the generated domain to be 8080 as well?


adrianoopereira
FREEOP

2 months ago

yes the port is set to 8080


Can you please,

  • Send a screenshot of the public networking section of the settings

  • Send a screenshot of the variables tab with all variables as ***s

  • Send all of the latest deployment logs


adrianoopereira
FREEOP

2 months ago

[Mon Oct 20 17:56:05.646947 2025] [autoindex:error] [pid 15] [client 100.64.0.7:60728] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive


adrianoopereira
FREEOP

2 months ago

I am sending one more image for verification

Attachments


Can you create a variable by the name PORT with the value 8080?


Loading...