I found out that my server (Java with Embedded Tomcat) is using ports between 1000-1100 sporadically.
Those are not ports that I've set, how can I find what in my server is using them?
Go to your tomcat installation directory
... then search for folder conf
... in that search for servers.xml
....
Open that file in any of web browser....And then search for the following lines...
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<Connector port="8008" protocol="AJP/1.3" redirectPort="8443"/>
These are the ports used by your tomcat...