How to use -dhudson.DNSMultiCast.disable and close port :5353?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use -dhudson.DNSMultiCast.disable and close port :5353?

Chris Barrera
I am starting hudson with this commandline:
(sorry for the repeat post, someone renamed my subject to REMOVE ME,
maybe he doesn't know how to sign off from the list???)

I start hudson from this commandline:
java -jar $HUDSON_PATH/hudson.war -Dhudson.DNSMultiCast.disabled=true

Yet hudson still opens/binds port 5353.

I have searched for and read previous posts on this topic and verified
my spelling is correct.

I am running hudson 1.386.

Any ideas?

As an aside I want to close the udp broadcast port 33848 but there
appears no option to do so, I tried -Dudp.broadcast=0 for grins but
didn't really expect that to work.

I want these closed because of operating in a firewalled/DMZ
environment.

Thanks for any help.
Reply | Threaded
Open this post in threaded view
|

Re: How to use -dhudson.DNSMultiCast.disable and close port :5353?

Chris Barrera

Ok after beating my head before posting, I found solutions to both
shortly after posting.

I have to move the -Dhudson.DNSMultiCast.disabled=true to BEFORE the -
jar flag on the command line.

And -Dhudson.udp=-1 solved that particular problem too. (also moving
to before -jar flag)

Now some other ports have opened up maybe due to plugins...*sigh*
Reply | Threaded
Open this post in threaded view
|

Re: How to use -dhudson.DNSMultiCast.disable and close port :5353?

Chris Barrera


No, -Dhudson.udp=-1 doesn't work, the port doesn't open but then
hudson displays errors...*sigh*