|Pivotal Cloud Foundry® (PCF)||1.6.x, 1.7.x|
When trying to run cf ssh  , you get the following error message:
Error opening SSH connection: dial tcp <load balancer ip>:2222: getsockopt: connection refused
This error message is caused when the load balancer is not listening on port 2222.
The Load Balancer needs to be configured to redirect TCP traffic on port 2222 to the Diego brain VM on port 2222.
- You need at least version 6.13 of the cf CLI to use the cf ssh related features.
- Please follow the article How to ssh login application container at verbose mode for troubleshooting purposes.
- Please check that the following conditions are true:
For further information, please refer to the following resource: