I have just created a droplet, installed jre, jkd and maven. I uploaded a SPRING project that was running perfectly on my machine in Idea editor, but when I access <ip>:8080, it loads some long time and then browser returns “server not responding”. Why is that?
All that I did was just fetch from GitHub. Also, this is how I am starting the app:
mvn clean install java -Xverify:none -Djava.security.egd=file:/dev/./urandom -jar target/app-0.0.1-SNAPSHOT.jar
Also, to permanently deploy the app, all that I do is add an & at the end of the second command. Is it fine? Do you recommend that?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!