I am following the JEE6 Tutorial. I installed SDK with GlassFish and after NetBeans. While installed GlassFish from SDK I wasn't able to use port 8080 because it was used by OracleXE. Then I chose 8081. Now when I am trying to deployed a simple project to GlassFish I couldn't. It is strange to me because I could open the mycomputer:8081/ and mycomputer:4848/ on my Chrome. After some search by Google, I attempted solve this issue by kill the process using 8080, re-seted the GlassFish to 8080 but I still unable to deployed the project and received the message that the port is occupied. It's strange because I now can open mycomputer:8080 and on port 8080 is java.exe started when I started GlassFish manually.
C:\Users\demecarv>netstat -aon | find ":80" | find "LISTENING" TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 1852 TCP 0.0.0.0:8081 0.0.0.0:0 LISTENING 384 TCP 0.0.0.0:8094 0.0.0.0:0 LISTENING 372 TCP 0.0.0.0:8096 0.0.0.0:0 LISTENING 472 TCP [::]:80 [::]:0 LISTENING 4 TCP [::]:8080 [::]:0 LISTENING 1852
I folowed:
http://stackoverflow.com/questions/2366043/glassfish-v3-domain-server-cannot-start-port-is-occupied[
^]