Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Deployment port
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[^]
Posted 14-Jan-13 10:22am
Edited 14-Jan-13 10:46am
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
v3
Comments
supupoff at 10-Dec-13 17:09pm
   
What is ths solution plz help ?
Sergey Alexandrovich Kryukov at 10-Dec-13 18:11pm
   
I added the 3rd link to the updated answer; look it up and use unassigned port number.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 10 Dec 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100