Maarten Raaijmakers
Maarten Raaijmakers

Reputation: 645

bind: Cannot assign requested address in Docker

I'm trying to run ssh -NfL 5432:localhost:5432 root@<ip> in docker but I'm getting bind: Cannot assign requested address.

How can I solve this?

Thank you so much!

Upvotes: 2

Views: 4379

Answers (1)

omega-nitro-zeus-x0
omega-nitro-zeus-x0

Reputation: 479

Try with this: -4: force ipv4 -v: verbose

ssh -4 -v -NfL 5432:localhost:5432 root@<ip>

Upvotes: 4

Related Questions