I've created a .jar file which listens on port 8089 and receives post requests. I start it in the background on my linux machine with the following commands:
nohup java -jar myServer.jar &  19769 -bash-4.1$ nohup: ignoring input and appending output to `nohup.out' jobs + Running nohup java -jar myServer.jar & disown
It may be redundant to use both nohup and disown, but my understanding is that this should work effectively to run the process in the background and detach it from the terminal. When I log out of my SSH and log back in, it is still listening:
tcp 0 0 0.0.0.0:8089 0.0.0.0:* LISTEN 19769/java
Now I log out and attempt to send a post request. I receive a no response error, and when I log back in, the process is not running anymore. Somehow sending the post request while not logged in causes the process to crash. What have I missed?
Edit: in response to the first comment by @vastlysuperiorman, it should be noted that my nohup.out file does not contain any errors, and that when I launch a post request from curl while logged into the server, it returns the data as expected.