连接到主机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
这对我有用