Skip to content

Commit 8a672a5

Browse files
authored
Update part13a.md
Under section 'Node application using a relational database'. fly.io DATABASE_URL. localhost doesn't work. But if change to 127.0.0.1 it works.
1 parent 8fbb98c commit 8a672a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/13/en/part13a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ The Fly.io connect-string is of the form
311311

312312
```bash
313313
$ cat .env
314-
DATABASE_URL=postgres://postgres:<password>@localhost:5432/postgres
314+
DATABASE_URL=postgres://postgres:<password>@127.0.0.1:5432/postgres
315315
```
316316

317317
Password was shown when the database was created, so hopefully you have not lost it!

0 commit comments

Comments
 (0)