how to connect to the server via SFTP if there is no ip

You need to provide the server address, you have it in the email with the service details.