Search code examples
amazon-web-servicesspring-mvcspring-bootubuntu-14.04undertow

spring boot 2 on VPS can't be accessed


I have an App that made using Spring Boot 2. I use Undertow as my embedded web server.

My VPS OS is Ubuntu 14.04 lts, and Java 8 has already installed off course along side with Maven. After my App.jar has successfully generated by mvn clean install then i move fat jar to my VPS.

when i run java -jar App.jar it perfectly works. but when i access using IP there is nothing to show from browser.

enter image description here


Solution

  • This issue has been solved already, it was just missing some configuration on server side :)