Fix this error
safal419
FREEOP

8 months ago

[2025-07-11 15:56:12.214] info: Shutting down Strapi

npm warn config production Use --omit=dev instead.

> my-strapi-project@0.1.0 start

> strapi start

[dotenv@17.2.0] injecting env (0) from .env (tip: gear emoji specify custom .env file path with { path: '/custom/path/.env' })

[2025-07-11 15:56:16.555] error: connect ENETUNREACH 2406:da18:243:7403:a374:5b7b:18a9:7bfe:5432 - Local (:::0)

Error: connect ENETUNREACH 2406:da18:243:7403:a374:5b7b:18a9:7bfe:5432 - Local (:::0)

at internalConnect (node:net:1098:16)

at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)

at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1497:9)

at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8)

[2025-07-11 15:56:16.556] info: Shutting down Strapi

$10 Bounty

4 Replies

Railway
BOT

8 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!


idiegea21
HOBBY

8 months ago

in your dotenv file, The db host may not be reachable from your current network. try replacing it with localhost, 127.0.0.1 or the actual reachable IP of your db host. also ensire that PostgreSQL is also running and listening on the correct Ip


idiegea21

in your dotenv file, The db host may not be reachable from your current network. try replacing it with localhost, 127.0.0.1 or the actual reachable IP of your db host. also ensire that PostgreSQL is also running and listening on the correct Ip

8 months ago

They are using Railway. This is the Railway support station. That's not how that works.

safal419, can you confirm the environmental variable you're using is a reference to the database_url of your database service? What database is it?


sim
FREE

8 months ago

What template are you using? I tried this one and it works. You can give it a go https://railway.com/deploy/strapi


Loading...