You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/3/en/part3b.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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
163
163
164
164
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.
165
165
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
+
166
181
We are now ready to deploy the app to the Fly.io servers. That is done with the following command:
0 commit comments