Error opening SSH connection: dial tcp 135.79.246.80:2222: getsockopt: connection timed out

Error opening SSH connection: dial tcp 135.79.246.80:2222: getsockopt: connection timed out

1 문제상황[ | ]

  • cf ssh 실행시 행(hang)으로 보이다가 timed out
root@zetawiki:~# cf ssh helloapp
FAILED
Error opening SSH connection: dial tcp 135.79.246.80:2222: getsockopt: connection timed out
root@zetawiki:~# netstat -tnp | grep cf
tcp        0      1 111.222.33.44:38122     135.79.246.80:2222      SYN_SENT    5606/cf

2 조치 및 확인[ | ]

  • 방화벽에서 아웃바운드 2222 포트 오픈
root@zetawiki:~# cf ssh helloapp
vcap@c79pamunfkh:~$
root@zetawiki:~# netstat -tnp | grep cf
tcp        0      0 111.222.33.44:38158     135.79.246.80:2222     ESTABLISHED 5676/cf

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}