连接主机超时 [英] Connection to Host time out

查看:92
本文介绍了连接主机超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Azure Power Shell中,粘贴以下内容后几分钟......


PS Azure:\> ssh Richard@13.88.224.207


我收到此回复...


ssh:连接到主机13.88.224.207端口22:连接超时



在尝试连接到远程VM时,我有什么遗漏?

解决方案

 



您能确保在NSG中允许端口22吗? / p>


以下是供您参考的文档:  https://docs.microsoft.com/en-us/azure/virtual-machines / troubleshooting / troubleshoot-rdp-nsg-problem



只需使用端口22而不是3389再试一次。 



问候, 


Msrini 


In the Azure Power Shell, a couple of minutes after pasting the following...

PS Azure:\> ssh Richard@13.88.224.207

I get this response...

ssh: connect to host 13.88.224.207 port 22: Connection timed out

Is there something that I have missed when trying to connect to he remote VM?

解决方案

Hi, 

Can you make sure you allowed port 22 in your NSG?

Here is the doc for your reference: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-nsg-problem

Just use port 22 instead of 3389 and try again. 

Regards, 

Msrini 


这篇关于连接主机超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆