Troubleshooting
port must be 1..65535, and other port messages
lly or the console refuses a port, or a change on the Network tab is not saved.
These messages appear when you add, change or remove a port.
What you see
port must be 1..65535, got `0`a port must be between 1 and 65535copperfox already serves port 8080copperfox does not serve port 9000The network could not be written.Why it happens, and the fix
| Message | What it means | Fix |
|---|---|---|
port must be 1..65535, a port must be between 1 and 65535 | The value is not a valid port | Enter the port your app listens on, a whole number from 1 to 65535. An app that listens on no port, such as a worker, needs no port: leave the list empty. |
… already serves port … | The app has this port already | Nothing to do |
… does not serve port … | You tried to remove a port the app does not have | List the ports of the app, then use one of them |
The network could not be written. | The change did not reach LILY | Try again. If the project is deploying, wait until it is live. |
To see the ports of an app:
Open the app and select the Network tab. Ports lists them.
lly network copperfoxA changed port takes effect with the next deploy of the app.
If it is still not working
Send a report through Feedback & Reports in the console sidebar. Include the full message, the project and app name, and the time it happened.