# Map a container port

If you are running a docker image that publishes an HTTP RPC on a port OTHER than port 80, you need to tell StackOS about the alternate port.

The best way to learn about this is though practice, so we created an example for you to quickly try.

## ✅ Deploy a port 8090 server&#x20;

We have created the following image "nyanit/http:v1.8090" which runs an http server that says "hello"

You can deploy it on StackOS using the following configuration

![](/files/KnwXlPDynvNXi7eDPk1U)

After deployment, a window should pop up and tell you the URL you can access your new website. It will be something like <https://myweb-0xMyEthAddress-titan.stackos.io>

## ✅ All done!

You have successfully remapped an HTTP server on port 8090 to port 80 and StackOS automatically made it available via HTTPS for you!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stackos.io/stackos-docs/operations/map-a-container-port.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
