2

I am able to create two ServerSocket with same port number.

Run two ServerSocket program in jre 1.6 & 1.7.

anybody faced same problem?

Pramoda S
  • 151
  • 2
  • 5
  • 2
    Is this a problem? or are you asking if this is ok? – Canvas Mar 28 '13 at 10:12
  • 3
    Can you provide an example of what you are doing? – Peter Lawrey Mar 28 '13 at 10:16
  • Welcome to Stack overflow. Please , consider that providing code or configuration snipets would help us to answer you. – Jean-Rémy Revy Mar 28 '13 at 10:29
  • This is a duplicate of http://stackoverflow.com/questions/13567361/several-tcp-servers-on-the-same-port. – jop Mar 28 '13 at 10:47
  • @jop - on the evidence provided in the Question, I agree. – Stephen C Mar 28 '13 at 11:14
  • Example: create ServerSocket using port number 3500 run using jre 1.6. run another program to create ServerSocket using port same port (3500) using jre 1.7. second process should throw exception "Address already in use". but another process is allowed create socket. bug in jre 1.7? – Pramoda S Mar 28 '13 at 11:39

0 Answers0