The basic format for subversion checkout to a remote server over a specified port is:
svn co https://[IP Address / Domain Name]:[Port Number]
svn co https://18.104.22.168:4340
svn co https://server.domain.com:4340
Be sure to note whether to use http or secure-http (https) as the protocol. Many svn servers only allow https connections.
If usernames and passwords are required by the connection (and you've been provided with one), they are added with flags.
svn co https://22.214.171.124:4340/svn/directory --username User --password Password!