Hello,

I have a script called start-server.sh that would start a Java process
and listening on some ports. It works correctly locally but it failed
once deployed to Heroku.

%> heroku run "sh target/classes/start-server.sh"

Running sh target/classes/start-server.sh attached to terminal... /usr/
local/heroku/lib/heroku/client/rendezvous.rb:33:in `initialize':
Network is unreachable - connect(2) (Errno::ENETUNREACH)
        from /usr/local/heroku/lib/heroku/client/rendezvous.rb:33:in `open'
        from /usr/local/heroku/lib/heroku/client/rendezvous.rb:33:in `start'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/timeout.rb:62:in `timeout'
        from /usr/local/heroku/lib/heroku/client/rendezvous.rb:27:in `start'
        from /usr/local/heroku/lib/heroku/command/run.rb:35:in `index'
        from /usr/local/heroku/lib/heroku/command.rb:129:in `send'
        from /usr/local/heroku/lib/heroku/command.rb:129:in `run'
        from /usr/local/heroku/lib/heroku/cli.rb:9:in `start'
        from /usr/bin/heroku:28

I have no idea how to proceed from here with this error message.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to