Worked http server when running from jar file