All Questions
585
questions
0
votes
1
answer
697
views
Exposing 11434 port in Docker container to access Ollama local model
I am trying to connect local Ollama 2 model, that uses port 11434 on my local machine, with my Docker container running Linux Ubuntu 22.04. I can confirm that Ollama model definitely works and is ...
0
votes
0
answers
20
views
Calling the mapped port in Docker
I have a container running and the service inside is running on port 8000. And I have port mapped the container when I use "docker run" command. And the service inside the container is ...
1
vote
0
answers
30
views
How can an application running in a docker container listen on a port when using the '--network host' option?
I have an application that binds to a port and listens for incoming connections. This application runs inside a docker container and has been working when using the --publish 8000:8000 argument to ...
0
votes
1
answer
107
views
Docker - can't ping or telnet any port from any container to the host machine (windows 11)
I have docker installed on windows 11
I can't ping the host machine from inside any container
Telnet from any container doesn't connect to any port on the host machine
This was working fine for over a ...
0
votes
0
answers
68
views
The error can't connect postgres after create port 5432 on docker compose file to connect airflow
I config this docker-compose file to connect airflow, i added the 5432 port and it's running on docker desktop
Port 5432 running on docker desktop
But I can't connect postgres desktop and when I go to ...
0
votes
1
answer
58
views
Docker container set to wrong port
I'm building an API usign PHP Laravel and chose docker to do run the server. For some reason, it set the port to be 0.0.0.80, which actually is only allowing me to acces the container through the 127....
-3
votes
1
answer
80
views
Cannot connect to running Docker container from locally run Golang
I have a container running on my local with
docker run \
--publish 8081:8081 \
--publish 10250-10255:10250-10255 \
--interactive \
--tty \
mcr.microsoft.com/cosmosdb/linux/azure-...
1
vote
0
answers
74
views
How to get really used listener port inside Handler
Assume this code
handler := http.HandleFunc("/usedport", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(strings.Split(r.RemoteAddr,":")[1]))
})
l, err = ...
-1
votes
2
answers
161
views
Is the server running on host "localhost" (127.0.0.1) and accepting web-1 TCP/IP connections on port 5432?
I have made a Django project with a postgresql backend and am trying to containerize it.
This is my Dockerfile:
FROM python:3.9
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
WORKDIR /app
...
0
votes
0
answers
20
views
Two nginx servers on different ports
I am a front-end developer with some DevOps skills. Currently, I am using my MacBook Pro (M1) for website development. I have set up two user accounts on my MacBook: one for my freelance projects and ...
0
votes
0
answers
14
views
dockerfile, port not responding even though mentioned using -p tag [duplicate]
I tried creating dockerfile for my flask-app but it doesn't work on localhost.
->dockerfile:
FROM python:3-alpine3.15
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
EXPOSE 5000
CMD [&...
0
votes
1
answer
131
views
ERR_EMPTY_RESPONSE with docker container port bind
I've installed vuejs3 and npm run dev it inside docker container with node:latest image. Very basic.
Inside a container it definitely started on http://localhost:5173, as I can get a response by curl ...
1
vote
0
answers
82
views
Docker port exposure with IP resulted to slow postgres database connection
I set up a Docker compose file with two Postgres database services, one for production and one for testing. When exposing the ports from container to host I started with following compose file
...
0
votes
0
answers
377
views
Docker. Ports are not available. An attempt was made to access a socket in a way forbidden by its access permissions
(HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:54322 -> 0.0.0.0:0: listen tcp 0.0.0.0:54322: bind: An attempt was made to access a socket in a way forbidden by ...
0
votes
1
answer
324
views
Spring Boot Application doesn't expose the port in Docker
I have built a Spring Boot app and am trying to run it in Docker.
The problem is that when I run it, the output seems to be normal:
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ ...