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 65535
copperfox already serves port 8080
copperfox does not serve port 9000
The network could not be written.

Why it happens, and the fix

MessageWhat it meansFix
port must be 1..65535, a port must be between 1 and 65535The value is not a valid portEnter 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 alreadyNothing to do
… does not serve port …You tried to remove a port the app does not haveList the ports of the app, then use one of them
The network could not be written.The change did not reach LILYTry 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 copperfox

A 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.

On this page