# jettyRun with daemon = true + gradle daemon doesn't release ports

**URL:** <https://discuss.gradle.org/t/jettyrun-with-daemon-true-gradle-daemon-doesnt-release-ports/669>\
**Category:** Old Forum Archive\
**Created:** [June 20, 2013, 7:01pm UTC](https://discuss.gradle.org/t/jettyrun-with-daemon-true-gradle-daemon-doesnt-release-ports/669 "2013-06-20T19:01:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wujek\_srujek](https://avatars.discourse-cdn.com/v4/letter/w/ee7513/32.png) [@wujek\_srujek](https://discuss.gradle.org/u/wujek_srujek)\
**Post date:** [June 20, 2013, 7:01pm UTC](https://discuss.gradle.org/t/jettyrun-with-daemon-true-gradle-daemon-doesnt-release-ports/669/1 "2013-06-20T19:01:00Z")

</div>

When I configure the jettyRun task to be a daemon and use gradle daemon (as I love the snappy startup it offers), after the build finishes the ports are still bound. Invoking the build again fails with ‘address already bound’ exception. Disabling the daemon is a workaround, but a suboptimal one. I read that the issue was discussed some time ago, but as I don’t know the outcome, I would like to raise it here again.

wujek
