I have developed a basic go rest webservice in go 1.2. It is working as expected in my local linux box. But when I scp'ed the generated binary to openshift and try to execute, it terminates instantaneously without listening to the port. Here is the application code : https://gist.github.com/anidotnet/9720936
I tried with both binary compiled at openshift server and binary compiled at my local linux box, but the result is same. Tried executing it using
nohup ./app $
but it still terminates. No panic log is there as well. What is going wrong here? Am I missing something?