New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't connect to localhost on osx big sur #991
Comments
the wget 127.0.0.1 work when i m connecting to the container |
Had a similar issue, removed colima I'm on Apple Silicon btw. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
hello
i can't access localhost after running colima and a caddy instance (as well as nginx, apache...)
Version
% colima version && limactl --version && qemu-img --version
colima version 0.6.8
git commit: 9b0809d
runtime: docker
arch: x86_64
client: v20.10.17
server: v24.0.9
limactl version 0.20.1
qemu-img version 8.2.1
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers
Operating System
Output of
colima status
% colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.106.2
INFO[0000] socket: unix:///Users/mac/.colima/default/docker.sock
Reproduction Steps
1.% colima start --network-address
INFO[0001] starting colima
INFO[0001] runtime: docker
INFO[0002] starting ... context=vm
INFO[0045] provisioning ... context=docker
INFO[0046] starting ... context=docker
INFO[0051] done
2. % docker run --rm -d --name caddy -p 80:80 caddy
d00639f38482e10a38a1e16ba06c488f294d76c9ac3adadf183554308fbcad43
3.% curl localhost
curl: (7) Failed to connect to localhost port 80 after 13 ms: Couldn't connect to server
[email protected] /Users/mac
% curl 127.0.0.1
curl: (7) Failed to connect to 127.0.0.1 port 80 after 12 ms: Couldn't connect to server
Expected behaviour
i should access localhot, no other server are running.
I tried the ip of the container but it s the same
Additional context
This site can’t be reachedlocalhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
The text was updated successfully, but these errors were encountered: