Confused. Why are you trying to access github on port 1234?
On Oct 9, 7:41 am, ohlhaver <[EMAIL PROTECTED]> wrote: > Hello, > > What do I need to change in the deploy.rb or elsewhere in order to use > a non-default port number? > > Everything is working fine when I use the standard port 22 on my > server. I'm able to deploy my code with capistrano and github. > > Now I changed my port number to something higher -say - 1234. > > I also updated the deploy.rb with this line: > > 'ssh_options[:port] = 1234' > > This works if I do a single command such as cap deploy:cleanup > > BUT when I try to deploy updated code via GitHub I now get the > following error: > > 'ssh: connect to host github.com port 1234: Connection refused' > > When I remove the 'ssh_options[:port] = 1234' line from deploy.rb this > error doesn't happen but instead: > > 'Capistrano::ConnectionError, connection failed for: xx.xx.x.xx > (Errno::ECONNREFUSED: Connection refused - connect(2))' > > So does anybody know how to solve this? > What do I need to change in the deploy.rb or elsewhere in order to use > a non-default port number? > > Thanks a lot for any help! > > Justus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
