Home / Companies / Fly.io / Blog / Post Details
Content Deep Dive

Fly Friday - Flyctl and Ports

Blog post from Fly.io

Post Details
Company
Date Published
Author
Dj Walker-Morgan
Word Count
235
Language
English
Hacker News Points
-
Summary

Dj Walker-Morgan introduced the new -p option in Fly's toolkit, which simplifies the process of creating a Fly app by automatically setting the internal port for communication with the world. This feature is particularly useful for users who employ prebuilt Docker images on Fly and need to change the default internal port. The -p flag can be used during the initial creation of a Fly app using flyctl apps create, and it sets the internal port value in the generated fly.toml configuration file. This update is available from release 0.94 of Flyctl.