I would like to make a port "in use" prior to starting my Glassfish server so I can produce an error.
I tried looking around on forums and google but I am not entirely sure how to word what I want to do for a search to turn up any good results.
Anyways, like the first sentence says I am trying to produce port in use error in my terminal when I run the "asadmin start-domain" command.
I am just curious if there is a simple and quick way to do this or if I would be better off changing the ports used by Glassfish to something already in use.
I tried looking around on forums and google but I am not entirely sure how to word what I want to do for a search to turn up any good results.
Anyways, like the first sentence says I am trying to produce port in use error in my terminal when I run the "asadmin start-domain" command.
I am just curious if there is a simple and quick way to do this or if I would be better off changing the ports used by Glassfish to something already in use.