Skip to content

1.1.0 jresty start

Latest
Compare
Choose a tag to compare
@downgoon downgoon released this 26 Jul 12:26
· 1 commit to master since this release

download

hello-world-jresty-1.1.0.tar.gz

Run

$ tar zxvf hello-world-jresty-1.1.0.tar.gz
$ cd hello-world-jresty-1.1.0

$ jresty start
jresty web app is listening on 8080 ...

$ curl http://localhost:8080/jresty/ping.json -i
some json response

$ jresty stop

if the port 8080 is already used by others, you can change the listening port in hello-world-jresty-1.1.0/tomcat/conf/server.xml

<Connector port="8080 -> ${port}" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />