Example:

scp -P 30000 index.html  root@ipaddress:/home/user


-P port (Upper Case “P”)
Specifies the port to connect to on the remote host. Note that this option is written with a capital `P’, because -p is already reserved for preserving the times and modes of the file in rcp(1)