This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Milan and I discussed this as a result of a user post on nbusers some time back. If Tomcat cannot start because of a port conflict, this is reported in the log file, and by the fact that Tomcat fails to start, but it would be helpful if we provided more information when this happens. It seems like users run into this quite often. I will attach a stacktrace. Based on it, it looks like the test port availability method could return more gracefully so that we can show the user a better message?
Created attachment 7914 [details] stacktrace
A detailed information about how to avoid the port conflict was elaborated by Ann and implemented by Petr. *** This issue has been marked as a duplicate of 31241 ***