That's interesting. Thanks, Drew. I didn't see how to find the "all ports", let alone the "key search function". Where are they?
But when you say it "only looks up JRun's ports", what do you mean? The utility I was pointing out accepts any range of ports to check. /charlie PS Did anyone else get two copies of my note and two copies of Jeff Ramin's reply? I know I sent only one. Actually, don't reply if you did get two. Let's just hope that someone in a position of running the list server (Michael D?) also sees the problem and can look into it. Interestingly, in each case, one note had our names as the "from" and the other had our email addresses, if that's a clue. (And only one copy of Drew's reply came to me.) -----Original Message----- From: Drew Falkman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 2:11 PM To: JRun-Talk Subject: RE: Finding Free Ports Actually, you can use the JMC key search function to search this, as well. Simply select All Ports in the commonly used keys drop-down, highlight the servers you wish to search and click look up. But, like Charles said, this only looks up JRun's ports, not ports from other services. -drew falkman -----Original Message----- From: charles arehart [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 11:01 AM To: JRun-Talk Subject: Finding Free Ports Ever wanted a way to find out what ports were free on your server? Did you know that there's a built-in class in JRun that can tell you? I didn't, until now. It's documented in that chapter 4 of the Setup Guide I mentioned in the previous note. The section "Understanding JRun ports" indicates that it's built into the allaire.jrun.install package, and it shows how to call it from the command line as well as from a simple sample code snippet you can use to call it programmatically. It'd be cool if it were automatically provided as a pre-built servlet or JSP page, perhaps listed in the JMC or examples, or if the command-level call to the application was available from the Start>JRun list of choices. It can scan and find free ports in a given range. Beware, of course, that it can only determine if a port's in use--it won't know if the port's been allocated to some other service that's not running. This is another challenge, such as when you have more than one servlet engine or app server installed but not running, that might already be setup to use this supposedly "free" port. If anyone takes the time to put together a servlet or JSP, I hope they'll share it. Gee, it's amazing what things you can find when you read the manuals. :-) (Actually, I must have read it at one time in my early JRun exploration, perhaps before I realized how valuable a free port finder would be!) /charlie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
