Pages

Showing posts with label HTTP. Show all posts
Showing posts with label HTTP. Show all posts

Friday, April 27, 2012

Run jetty on a specific port using Gradle

I usually start jetty using Gradle build file as given below, but it will run it on HTTP port 8080
gradle jettyRun

But to specify user defined port use -DhttpPort as given below.
gradle jettyRun -DhttpPort=9999

Know more.