Skip to content

Commit ab39caa

Browse files
authored
Merge pull request #2981 from cats256/patch-5
Update part3b.md (add note on fly.io deployment error)
2 parents 7c672be + 341a5be commit ab39caa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/content/3/en/part3b.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,21 @@ Fly.io creates a file <i>fly.toml</i> in the root of your app where the app is c
163163

164164
We have now defined in the part [env] that environment variable PORT will get the correct port (defined in part [services]) where the app should create the server. Note that the definition might be already there, but some times it has been missing.
165165

166+
Note: For some users, the fly.toml file generated by fly.io will have this configuration:
167+
168+
```bash
169+
[http_service]
170+
internal_port = 3000
171+
```
172+
173+
This will cause the following warning once deployed and result in your app being inacessible:
174+
175+
```bash
176+
WARNING The app is not listening on the expected address and will not be reachable by fly-proxy
177+
```
178+
179+
Change internal_port to 8080 if your configuration is as mentioned above.
180+
166181
We are now ready to deploy the app to the Fly.io servers. That is done with the following command:
167182

168183
```bash

0 commit comments

Comments
 (0)