FAQ for Galaxy
Error: channel 3: open failed: connect failed: Connection refused
This error shows up when attempting an ssh port forwarding from the galaxy server to the localhost. This error occurs due to port conflict on the server side. The port number mentioned during the execution of personalize.sh might already be taken up ie., a service might already be running at this port. Check the list of ports opened by doing a netstat -lpn |grep <port-number>. If the result is not empty, run the personalize.sh script again with a higher port number and then ssh port forward with this new port number. Usually in Unix/Linux systems, normal users can open ports starting from 1025 to 65535. However, some Unix/Linux systems have Ephemeral port range from 1025-5000. So, its safer to use a port number above 5000.