Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

NX: Basic shutting down ports

 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Report post to moderator
How do I list the ports that are in use on my machine and close them
all in one command. I know Ctrl-C to stop the server but how do I close
all of the listening ports.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
OK, I'm a little confused. In the assignment you will have one port listening for RMI calls. When you shut down the server, it sill no longer listen on the port. That is all you really need to do. I don't understand why you want to "Close" all the ports or some of them. It is really whats behind the port that is listening.
Mark
 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Report post to moderator
Right, right. I guess you could say it was not really a certification
question exactly. I was just doing some testing and was very curious.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
I thought maybe that was so. I need to close this thread. I hope it answered your question. If not there is a Networking forum that this question would be better asked in.
Good Luck
Mark
 
    Bookmark Topic Watch Topic
  • New Topic