sftp in to ip but not computor name

Hi it’s as the title sayes i can sftp into the ip address ok but if I put the computor name instead I get return

ssh: Could not resolve hostname server: Name or service not known
Couldn't read packet: Connection reset by peer

hopesome1 knows a round this

Hi Spiky,

Try posting in the network sub-forum, you’ll get good help there.