连接到主机localhost端口22:连接被拒绝 [英] connect to host localhost port 22: Connection refused
本文介绍了连接到主机localhost端口22:连接被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在本地计算机上安装hadoop时,出现以下错误
While installing hadoop in my local machine , i got following error
ssh -vvv localhost
OpenSSH_5.5p1, OpenSSL 1.0.0e-fips 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
可以通过更改端口号来帮助我解决此错误
can some one help me to resolve this error , than changing port number
推荐答案
我的端口号不同.我尝试使用
My port number is different. i tried using
ssh localhost -p 8088
这对我有用
这篇关于连接到主机localhost端口22:连接被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文