Connection refused


#1

when I try to type ssh 169.254.244.139 to connect to the raspberry pi machine I get connection refused it is on port 22. this is on a macbook pro. i can ping the ip address. it is connected because when i disconnect the eithernet cable it gets disconected. could it be a security issue or the wrong port I am confused. please help. I heard on one of the other responses for this that it was suposed to be on port 23. could that be the problem if there is any more information needed please let me know.
thanks dlorfel@yahoo.com
ps below are the messages

64 bytes from 169.254.244.139: icmp_seq=14 ttl=255 time=0.086 ms
64 bytes from 169.254.244.139: icmp_seq=15 ttl=255 time=0.080 ms
64 bytes from 169.254.244.139: icmp_seq=16 ttl=255 time=0.084 ms
— 169.254.244.139 ping statistics —
17 packets transmitted, 17 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.067/0.079/0.086/0.005 ms
Davids-MacBook-Pro:~ davidlorfel$ ssh 169.254.244.139
ssh: connect to host 169.254.244.139 port 22: Connection refused
Davids-MacBook-Pro:~ davidlorfel$


#2

I think the issue is you need to use
ssh pi@169.254.244.139


#3

You should check your IP address on the pi. No remote login or ping, on it. To do that type hostname -I into the terminal. Your router once in a while changes IP addresses of computers. If its the your address changed you should look into creating a static IP adress.


#4

#5