I've seen people doing this but following their steps I'm not managing to get it working.
I made my gear WildFly Application Server 8.2.0.Final. Then I uploaded the jar and resources using WinSCP and run the jar via ssh. -> java -jar server.jar
Then, the output is the one that I was expecting: the ignited sparkjava server (yes, I'm using spark) on port 8081 and the Ip the one that is retrieved using "env | grep IP" command.
Then I try to get into my app via client: http://fooname.rhcloud.com:8081/home.html
And nothing happens. After some seconds, a timeout is displayed by the browser.
Any idea? I'm pretty sure I'm missing a "stupid" step but I haven't seen which one.
Thanks in advance