Configuring Hudson CI server behind firewall


September 2, 2010

When firewall was introduced within our local network, the Hudson server stopped working with the error:

javax.jmdns.impl.tasks.Prober run WARNING: run() exception Operation not permitted at Method) at at javax.jmdns.impl.JmDNSImpl.send( at at java.util.TimerThread.mainLoop( at

And when you access hudson in browser, it stays with the message “Please wait while Hudson is getting ready to work….” forever.

Initially I thought the problem might be because the ports which are required by the Hudson server i.e. 8080 and 5353, were not opened in the Firewall. I opened those, but the error remained.

After googling for sometime, I could find similar issues being reported here:

And the issue got fixed by adding


to the java command as follows:

java -Dhudson.DNSMultiCast.disabled=true -jar hudson.war --httpPort=8080