This page shows how to expose a port, find its address, make your service reachable and protect it.
featherless-cloud instance update my-instance --port 8000
featherless-cloud instance update my-instance --port 8000 --port 8888
featherless-cloud instance update my-instance --port none
--port replaces the whole list. none removes every port.
Changes apply right away, without restarting the instance. You can also set ports when you deploy, under Public ports or with --port.
Each port's address is listed under Exposed ports on the instance's Connect tab, and featherless-cloud instance get my-instance prints it. The address is made from the instance ID and the port, so it stays the same when the instance stops and starts again. It responds only while the instance is running.
0.0.0.0, not 127.0.0.1. A service that listens only on localhost can't be reached.To check a port end to end, serve a test page and open the address:
mkdir -p /tmp/site && cd /tmp/site && echo "hello" > index.html
python -m http.server 8000
JUPYTER_TOKEN. See Develop in JupyterLab.VLLM_API_KEY, and clients send it as a bearer token. See Serve an LLM with vLLM.Public ports carry HTTP, including WebSocket and server-sent events. Raw TCP and UDP aren't supported. A connection with no traffic for 300 seconds is closed.