Access local port inside Docker

I created an app that access Ollama running on port 11434. Since DockerFile does not allow to publish i.e. map port, how can I access the Ollama url running inside Docker so that I can verify that its running correctly?

This is all I know about it.

app_port : int
Port on which your application is running. Used only if sdk is docker. Default port is 7860.