What did you already try to solve it?
Installed raspian, also octoprint(the actually reason for me doing it)
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)
Ive tried on a raspbery a+ a raspbery 2 and 3 re downloaded both images several times and reinstalled. Im plugged into ethernet.
i dont have a screen or keyboard to get in manually.
ive added a file ssh to the folder on the sd card.
Not OP, but I appreciate both @geoff_s and @Ewald_Ikemann you guys both led me to fixing my own issue using because I'm now using Putty instead of command prompt and enabling SSH. Not sure if the second was necessary, but I'm not going back. Thanks!
I must admit, it's been a while since I did an installation on a Pi. I know that it used to be that sshd was not enabled by default requiring a keyboard/monitor connection to get networking going.
The existence of an empty /boot/ssh file will determine whether or not the Pi turns on that service. Having inserted the microSD card into my MacBook I might then do:
sudo touch /Volumes/boot/ssh
...then eject, put it back into the Raspberry and things would work out. That said, if you flash a newer OctoPi image you shouldn't have to worry about that; Guy has got you covered.
it did not work same error
via mac terminal
ssh: connect to host 10.0.1.20 port 22: Connection refused
my open port for pi are
80,110,143,993,995,3128,8080
Neither connect via Ip nor hostname