-
Notifications
You must be signed in to change notification settings - Fork 552
Open
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
I'm starting the container with:
% container run -d -p 3001:3001 my-image
% curl -v -H "Host: localhost:3001" http://192.168.64.4:3001/api
-> Swagger HTML of the /api endpoint
-> * Connection #0 to host 192.168.64.4 left intact
% curl -v -H "Host: 192.168.64.4:3001" http://localhost:3001/api
- Host localhost:3001 was resolved.
- IPv6: ::1
- IPv4: 127.0.0.1
- Trying [::1]:3001...
- connect to ::1 port 3001 from ::1 port 65129 failed: Connection refused
- Trying 127.0.0.1:3001...
- Connected to localhost (127.0.0.1) port 3001
GET /api HTTP/1.1
Host: 192.168.64.4:3001
User-Agent: curl/8.7.1
Accept: /
- Request completely sent off
- Empty reply from server
- Closing connection
curl: (52) Empty reply from server
Current behavior
Port forwarding to localhost:3001 is completely broken
Expected behavior
Port forwarding to localhost:3001 shouldn't be broken
Environment
- OS: macOS 26.1 (25B78)
- Xcode: 26.1.1 (17B100)
- Container: CLI version 0.6.0 (build: release, commit: a23bcf0)Relevant log output
N/ACode of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels