By default the remote server address is 0.0.0.0, you need to change this, otherwise the remote server is going to be your local machine. Change the value in quotations marks to the remote server’s public IP address
The get_ports function returns a list of ruby Hashs, in order to add a new port we can add a new Hash instance to the returned array. See below for an example