From wallisds at gmail.com Mon Oct 6 06:48:26 2014 From: wallisds at gmail.com (Dawn Wallis) Date: Mon, 6 Oct 2014 09:48:26 -0400 Subject: [baltimorepm] help with Net::HL7::Connection Message-ID: At work we had a Windows XP computer setup to collect lab results from Quest. That data was parsed and transferred to our mysql database (on a CentOS server) using Net::HL7::Connection. Recently we had to upgrade to Windows 7 for the capturing computer. So I'm using Windows 7 to collect blood work data from Quest. The scripts that were on the XP machine seem to work pretty well on the 7 box too, so I am able to get the data parsed and ready for transport to my mysql database server, but it doesn't send. I am getting a "Could not connect. No connection could be made because the target machine actively refused it" error. Net::HL7::Connection takes a host and port but no password or anything. I figure I'm supposed to open a port on the db server to allow this incoming connection, but I'm having trouble figuring that part out. I don't know where to look on the centos server to see if a port is open for the other xp computer, what file to edit... etc. Any suggestions? Thanks, Dawn -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsimon at stsci.edu Mon Oct 6 07:13:05 2014 From: bsimon at stsci.edu (Bernie Simon) Date: Mon, 6 Oct 2014 14:13:05 +0000 Subject: [baltimorepm] help with Net::HL7::Connection In-Reply-To: References: Message-ID: The standard command to check for open ports is netstat -en More information can be found on the web. Don?t know how this stuff in configured under Windows. From: Dawn Wallis > Reply-To: Baltimore Perl Mongers > Date: Monday, October 6, 2014 at 9:48 AM To: "baltimore-pm at pm.org" > Subject: [baltimorepm] help with Net::HL7::Connection At work we had a Windows XP computer setup to collect lab results from Quest. That data was parsed and transferred to our mysql database (on a CentOS server) using Net::HL7::Connection. Recently we had to upgrade to Windows 7 for the capturing computer. So I'm using Windows 7 to collect blood work data from Quest. The scripts that were on the XP machine seem to work pretty well on the 7 box too, so I am able to get the data parsed and ready for transport to my mysql database server, but it doesn't send. I am getting a "Could not connect. No connection could be made because the target machine actively refused it" error. Net::HL7::Connection takes a host and port but no password or anything. I figure I'm supposed to open a port on the db server to allow this incoming connection, but I'm having trouble figuring that part out. I don't know where to look on the centos server to see if a port is open for the other xp computer, what file to edit... etc. Any suggestions? Thanks, Dawn -------------- next part -------------- An HTML attachment was scrubbed... URL: From webdeveloper02 at yahoo.com Mon Oct 6 07:19:56 2014 From: webdeveloper02 at yahoo.com (Neal Anders) Date: Mon, 6 Oct 2014 14:19:56 +0000 (UTC) Subject: [baltimorepm] help with Net::HL7::Connection In-Reply-To: References: Message-ID: <424024630.273101.1412605196813.JavaMail.yahoo@jws10785.mail.gq1.yahoo.com> Dawn, Could be the firewall on the new machine - for the default one that comes with Windows 7 check this link for how to find the location of where that is set. http://techibee.com/windows-2008/enable-windows-firewall-logging-in-windows-7-and-windows-2008-r2/606 The Windows' box Anti-virus might have it's own firewall and logs as well / in place of the default one for Windows. You could also watch the connections coming and going on the linux side with netsta or losf, e.g. https://help.joyent.com/entries/23484923-Watching-active-IP-connections-Linux Windows, via the command prompt also has a 'netstat' Wireshark and tshark are also good tools when it comes time to look at packet-level diagnostics: https://www.wireshark.org/ Neal From: Dawn Wallis To: baltimore-pm at pm.org Sent: Monday, October 6, 2014 9:48 AM Subject: [baltimorepm] help with Net::HL7::Connection At work we had a Windows XP computer setup to collect lab results from Quest. That data was parsed and transferred to our mysql database (on a CentOS server) using Net::HL7::Connection. Recently we had to upgrade to Windows 7 for the capturing computer. So I'm using Windows 7 to collect blood work data from Quest.? The scripts that were on the XP machine seem to work pretty well on the 7 box too, so I am able to get the data parsed and ready for transport to my mysql database server, but it doesn't send.? I am getting a "Could not connect. No connection could be made because the target machine actively refused it" error.? Net::HL7::Connection takes a host and port but no password or anything. I figure I'm supposed to open a port on the db server to allow this incoming connection, but I'm having trouble figuring that part out. I don't know where to look on the centos server to see if a port is open for the other xp computer, what file to edit... etc.? Any suggestions? Thanks, Dawn _______________________________________________ Baltimore-pm mailing list Baltimore-pm at pm.org http://mail.pm.org/mailman/listinfo/baltimore-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From benparse at yahoo.com Mon Oct 6 07:35:46 2014 From: benparse at yahoo.com (benparse at yahoo.com) Date: Mon, 6 Oct 2014 10:35:46 -0400 Subject: [baltimorepm] help with Net::HL7::Connection In-Reply-To: References: Message-ID: <756624.65677.bm@smtp214.mail.bf1.yahoo.com> I may not be following this correctly, ... Check control panel->system n security -> windows firewall If u recvd this box then there maybe configuration item -----Original Message----- From: "Bernie Simon" Sent: ?10/?6/?2014 10:13 To: "Baltimore Perl Mongers" Subject: Re: [baltimorepm] help with Net::HL7::Connection The standard command to check for open ports is netstat -en More information can be found on the web. Don?t know how this stuff in configured under Windows. From: Dawn Wallis Reply-To: Baltimore Perl Mongers Date: Monday, October 6, 2014 at 9:48 AM To: "baltimore-pm at pm.org" Subject: [baltimorepm] help with Net::HL7::Connection At work we had a Windows XP computer setup to collect lab results from Quest. That data was parsed and transferred to our mysql database (on a CentOS server) using Net::HL7::Connection. Recently we had to upgrade to Windows 7 for the capturing computer. So I'm using Windows 7 to collect blood work data from Quest. The scripts that were on the XP machine seem to work pretty well on the 7 box too, so I am able to get the data parsed and ready for transport to my mysql database server, but it doesn't send. I am getting a "Could not connect. No connection could be made because the target machine actively refused it" error. Net::HL7::Connection takes a host and port but no password or anything. I figure I'm supposed to open a port on the db server to allow this incoming connection, but I'm having trouble figuring that part out. I don't know where to look on the centos server to see if a port is open for the other xp computer, what file to edit... etc. Any suggestions? Thanks, Dawn -------------- next part -------------- An HTML attachment was scrubbed... URL: From sbelcher at gmail.com Mon Oct 6 07:36:09 2014 From: sbelcher at gmail.com (Stephen Belcher) Date: Mon, 6 Oct 2014 10:36:09 -0400 Subject: [baltimorepm] help with Net::HL7::Connection In-Reply-To: References: Message-ID: FWIW, on CentOS, it seems that the `netstat -en` command doesn't list listening sockets, for that you'll need to add the `-l` flag (which then seems to list *only* listening sockets, not sure how to get both). Additionally, you can `grep` that output for the port you're trying to connect on to see if it's open, instead of parsing the whole output, *e.g.*, `netstat -len | grep :12345` (not 12345, natch, just whatever the port is). I was hoping there was a way to instruct `netstat` to only care about particular ports, but I can't seem to find that. --Stephen On Mon, Oct 6, 2014 at 10:13 AM, Bernie Simon wrote: > The standard command to check for open ports is > > netstat -en > > More information can be found on the web. Don?t know how this stuff in > configured under Windows. > > From: Dawn Wallis > Reply-To: Baltimore Perl Mongers > Date: Monday, October 6, 2014 at 9:48 AM > To: "baltimore-pm at pm.org" > Subject: [baltimorepm] help with Net::HL7::Connection > > At work we had a Windows XP computer setup to collect lab results from > Quest. That data was parsed and transferred to our mysql database (on a > CentOS server) using Net::HL7::Connection. Recently we had to upgrade to > Windows 7 for the capturing computer. So I'm using Windows 7 to collect > blood work data from Quest. > > The scripts that were on the XP machine seem to work pretty well on the > 7 box too, so I am able to get the data parsed and ready for transport to > my mysql database server, but it doesn't send. > > I am getting a "Could not connect. No connection could be made because > the target machine actively refused it" error. > > Net::HL7::Connection takes a host and port but no password or anything. > I figure I'm supposed to open a port on the db server to allow this > incoming connection, but I'm having trouble figuring that part out. I don't > know where to look on the centos server to see if a port is open for the > other xp computer, what file to edit... etc. > > Any suggestions? > > > > Thanks, > Dawn > > _______________________________________________ > Baltimore-pm mailing list > Baltimore-pm at pm.org > http://mail.pm.org/mailman/listinfo/baltimore-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zak.zebrowski at gmail.com Mon Oct 6 07:50:01 2014 From: zak.zebrowski at gmail.com (Zachary Zebrowski) Date: Mon, 6 Oct 2014 10:50:01 -0400 Subject: [baltimorepm] help with Net::HL7::Connection In-Reply-To: References: Message-ID: Also, it could be a firewall issue. Some OS's block all ports by default for inbound connections. I don't know the correct invocation on centos to see what the firewall settings are, but if centos uses ufw. See if you can do a: sudo ufw status if you see it enabled, do a sudo ufw disable and then see if you can connect in... Obviously, the correct solution then is to figure out what ports the application is using and then enable those in the firewall, and re-enable the firewall if this is the case... Good luck Zak On Mon, Oct 6, 2014 at 10:36 AM, Stephen Belcher wrote: > FWIW, on CentOS, it seems that the `netstat -en` command doesn't list > listening sockets, for that you'll need to add the `-l` flag (which then > seems to list *only* listening sockets, not sure how to get both). > Additionally, you can `grep` that output for the port you're trying to > connect on to see if it's open, instead of parsing the whole output, > *e.g.*, `netstat -len | grep :12345` (not 12345, natch, just whatever the > port is). I was hoping there was a way to instruct `netstat` to only care > about particular ports, but I can't seem to find that. > > --Stephen > > On Mon, Oct 6, 2014 at 10:13 AM, Bernie Simon wrote: > >> The standard command to check for open ports is >> >> netstat -en >> >> More information can be found on the web. Don?t know how this stuff in >> configured under Windows. >> >> From: Dawn Wallis >> Reply-To: Baltimore Perl Mongers >> Date: Monday, October 6, 2014 at 9:48 AM >> To: "baltimore-pm at pm.org" >> Subject: [baltimorepm] help with Net::HL7::Connection >> >> At work we had a Windows XP computer setup to collect lab results from >> Quest. That data was parsed and transferred to our mysql database (on a >> CentOS server) using Net::HL7::Connection. Recently we had to upgrade to >> Windows 7 for the capturing computer. So I'm using Windows 7 to collect >> blood work data from Quest. >> >> The scripts that were on the XP machine seem to work pretty well on the >> 7 box too, so I am able to get the data parsed and ready for transport to >> my mysql database server, but it doesn't send. >> >> I am getting a "Could not connect. No connection could be made because >> the target machine actively refused it" error. >> >> Net::HL7::Connection takes a host and port but no password or anything. >> I figure I'm supposed to open a port on the db server to allow this >> incoming connection, but I'm having trouble figuring that part out. I don't >> know where to look on the centos server to see if a port is open for the >> other xp computer, what file to edit... etc. >> >> Any suggestions? >> >> >> >> Thanks, >> Dawn >> >> _______________________________________________ >> Baltimore-pm mailing list >> Baltimore-pm at pm.org >> http://mail.pm.org/mailman/listinfo/baltimore-pm >> > > > _______________________________________________ > Baltimore-pm mailing list > Baltimore-pm at pm.org > http://mail.pm.org/mailman/listinfo/baltimore-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike.Barry at proquest.com Mon Oct 6 07:03:34 2014 From: Mike.Barry at proquest.com (Mike Barry) Date: Mon, 6 Oct 2014 14:03:34 +0000 Subject: [baltimorepm] help with Net::HL7::Connection In-Reply-To: References: Message-ID: <94CB35D8-A9CE-4BE6-9A71-A73193F4CED0@proquest.com> sudo netstat -taupen will tell you what ports are being listened to on the server side (but it may be hard to weed through that output). The client side script should be specifying the port it wants to connect to. You can check the client script for the port it wants to open with the output of the netstat command to see if that port is indeed open. Maybe the server side is running fine and it?s a firewall issue? -MikeB. On Oct 6, 2014, at 9:48 AM, Dawn Wallis wrote: > At work we had a Windows XP computer setup to collect lab results from Quest. That data was parsed and transferred to our mysql database (on a CentOS server) using Net::HL7::Connection. Recently we had to upgrade to Windows 7 for the capturing computer. So I'm using Windows 7 to collect blood work data from Quest. > > The scripts that were on the XP machine seem to work pretty well on the 7 box too, so I am able to get the data parsed and ready for transport to my mysql database server, but it doesn't send. > > I am getting a "Could not connect. No connection could be made because the target machine actively refused it" error. > > Net::HL7::Connection takes a host and port but no password or anything. I figure I'm supposed to open a port on the db server to allow this incoming connection, but I'm having trouble figuring that part out. I don't know where to look on the centos server to see if a port is open for the other xp computer, what file to edit... etc. > > Any suggestions? > > > > Thanks, > Dawn > _______________________________________________ > Baltimore-pm mailing list > Baltimore-pm at pm.org > http://mail.pm.org/mailman/listinfo/baltimore-pm From wallisds at gmail.com Tue Oct 7 08:24:10 2014 From: wallisds at gmail.com (Dawn Wallis) Date: Tue, 7 Oct 2014 11:24:10 -0400 Subject: [baltimorepm] Voting ends Friday Message-ID: Vote by this Friday for the topic brian d foy will present to us at our next meeting on Friday 10/17! http://www.meetup.com/Baltimore-Perl-Mongers/polls/1163022/ Right now "Perl Bag of Tricks" is in the lead by 1. If you plan to come please RSVP and vote! Thanks! Dawn -------------- next part -------------- An HTML attachment was scrubbed... URL: From bsimon at stsci.edu Tue Oct 7 09:23:09 2014 From: bsimon at stsci.edu (Bernie Simon) Date: Tue, 7 Oct 2014 16:23:09 +0000 Subject: [baltimorepm] Voting ends Friday In-Reply-To: References: Message-ID: > Right now "Perl Bag of Tricks" is in the lead by 1. Perl ?Baf of Tricks? reminds me of Felix the Cat and his Bag of Tricks. https://www.youtube.com/watch?v=amGbBFsiuzc Just saying there are some thing Perl still can?t do. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wallisds at gmail.com Tue Oct 7 14:08:33 2014 From: wallisds at gmail.com (Dawn Wallis) Date: Tue, 7 Oct 2014 17:08:33 -0400 Subject: [baltimorepm] Baltimore-pm Digest, Vol 41, Issue 3 In-Reply-To: References: Message-ID: Thanks everyone for your help with my Net::HL7::Connection issue. I tried netstat and adjusting firewall settings, telnetting to the server with the port and all came up empty. Then a colleague suggested checking the database server to see if it had an HL7 service running, and yep, hl7d was running. I restarted that. and. it. worked! Ahhem. Thanks everyone! :) On Mon, Oct 6, 2014 at 3:00 PM, wrote: > Send Baltimore-pm mailing list submissions to > baltimore-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.pm.org/mailman/listinfo/baltimore-pm > or, via email, send a message with subject or body 'help' to > baltimore-pm-request at pm.org > > You can reach the person managing the list at > baltimore-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Baltimore-pm digest..." > > > Today's Topics: > > 1. Re: help with Net::HL7::Connection (Stephen Belcher) > 2. Re: help with Net::HL7::Connection (Zachary Zebrowski) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 6 Oct 2014 10:36:09 -0400 > From: Stephen Belcher > To: Baltimore Perl Mongers > Subject: Re: [baltimorepm] help with Net::HL7::Connection > Message-ID: > < > CAA1vO_7b4txrNu5jFAPhzyRBE4oUWkSv8_m7gvw-kdAKPMwpbQ at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > FWIW, on CentOS, it seems that the `netstat -en` command doesn't list > listening sockets, for that you'll need to add the `-l` flag (which then > seems to list *only* listening sockets, not sure how to get both). > Additionally, you can `grep` that output for the port you're trying to > connect on to see if it's open, instead of parsing the whole output, > *e.g.*, > `netstat -len | grep :12345` (not 12345, natch, just whatever the port is). > I was hoping there was a way to instruct `netstat` to only care about > particular ports, but I can't seem to find that. > > --Stephen > > On Mon, Oct 6, 2014 at 10:13 AM, Bernie Simon wrote: > > > The standard command to check for open ports is > > > > netstat -en > > > > More information can be found on the web. Don?t know how this stuff in > > configured under Windows. > > > > From: Dawn Wallis > > Reply-To: Baltimore Perl Mongers > > Date: Monday, October 6, 2014 at 9:48 AM > > To: "baltimore-pm at pm.org" > > Subject: [baltimorepm] help with Net::HL7::Connection > > > > At work we had a Windows XP computer setup to collect lab results from > > Quest. That data was parsed and transferred to our mysql database (on a > > CentOS server) using Net::HL7::Connection. Recently we had to upgrade to > > Windows 7 for the capturing computer. So I'm using Windows 7 to collect > > blood work data from Quest. > > > > The scripts that were on the XP machine seem to work pretty well on the > > 7 box too, so I am able to get the data parsed and ready for transport to > > my mysql database server, but it doesn't send. > > > > I am getting a "Could not connect. No connection could be made because > > the target machine actively refused it" error. > > > > Net::HL7::Connection takes a host and port but no password or anything. > > I figure I'm supposed to open a port on the db server to allow this > > incoming connection, but I'm having trouble figuring that part out. I > don't > > know where to look on the centos server to see if a port is open for the > > other xp computer, what file to edit... etc. > > > > Any suggestions? > > > > > > > > Thanks, > > Dawn > > > > _______________________________________________ > > Baltimore-pm mailing list > > Baltimore-pm at pm.org > > http://mail.pm.org/mailman/listinfo/baltimore-pm > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.pm.org/pipermail/baltimore-pm/attachments/20141006/2696ad5f/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 6 Oct 2014 10:50:01 -0400 > From: Zachary Zebrowski > To: Baltimore Perl Mongers > Subject: Re: [baltimorepm] help with Net::HL7::Connection > Message-ID: > 5q3wObYiQJ463sSq05b7Q at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Also, it could be a firewall issue. Some OS's block all ports by default > for inbound connections. I don't know the correct invocation on centos to > see what the firewall settings are, but if centos uses ufw. See if you can > do a: > > sudo ufw status > > if you see it enabled, do a sudo ufw disable and then see if you can > connect in... Obviously, the correct solution then is to figure out what > ports the application is using and then enable those in the firewall, and > re-enable the firewall if this is the case... > > Good luck > > Zak > > > On Mon, Oct 6, 2014 at 10:36 AM, Stephen Belcher > wrote: > > > FWIW, on CentOS, it seems that the `netstat -en` command doesn't list > > listening sockets, for that you'll need to add the `-l` flag (which then > > seems to list *only* listening sockets, not sure how to get both). > > Additionally, you can `grep` that output for the port you're trying to > > connect on to see if it's open, instead of parsing the whole output, > > *e.g.*, `netstat -len | grep :12345` (not 12345, natch, just whatever the > > port is). I was hoping there was a way to instruct `netstat` to only care > > about particular ports, but I can't seem to find that. > > > > --Stephen > > > > On Mon, Oct 6, 2014 at 10:13 AM, Bernie Simon wrote: > > > >> The standard command to check for open ports is > >> > >> netstat -en > >> > >> More information can be found on the web. Don?t know how this stuff in > >> configured under Windows. > >> > >> From: Dawn Wallis > >> Reply-To: Baltimore Perl Mongers > >> Date: Monday, October 6, 2014 at 9:48 AM > >> To: "baltimore-pm at pm.org" > >> Subject: [baltimorepm] help with Net::HL7::Connection > >> > >> At work we had a Windows XP computer setup to collect lab results from > >> Quest. That data was parsed and transferred to our mysql database (on a > >> CentOS server) using Net::HL7::Connection. Recently we had to upgrade to > >> Windows 7 for the capturing computer. So I'm using Windows 7 to collect > >> blood work data from Quest. > >> > >> The scripts that were on the XP machine seem to work pretty well on the > >> 7 box too, so I am able to get the data parsed and ready for transport > to > >> my mysql database server, but it doesn't send. > >> > >> I am getting a "Could not connect. No connection could be made because > >> the target machine actively refused it" error. > >> > >> Net::HL7::Connection takes a host and port but no password or anything. > >> I figure I'm supposed to open a port on the db server to allow this > >> incoming connection, but I'm having trouble figuring that part out. I > don't > >> know where to look on the centos server to see if a port is open for the > >> other xp computer, what file to edit... etc. > >> > >> Any suggestions? > >> > >> > >> > >> Thanks, > >> Dawn > >> > >> _______________________________________________ > >> Baltimore-pm mailing list > >> Baltimore-pm at pm.org > >> http://mail.pm.org/mailman/listinfo/baltimore-pm > >> > > > > > > _______________________________________________ > > Baltimore-pm mailing list > > Baltimore-pm at pm.org > > http://mail.pm.org/mailman/listinfo/baltimore-pm > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.pm.org/pipermail/baltimore-pm/attachments/20141006/3cd119b3/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Baltimore-pm mailing list > Baltimore-pm at pm.org > http://mail.pm.org/mailman/listinfo/baltimore-pm > > ------------------------------ > > End of Baltimore-pm Digest, Vol 41, Issue 3 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From morty.abzug at gmail.com Fri Oct 17 15:43:16 2014 From: morty.abzug at gmail.com (Morty Abzug) Date: Fri, 17 Oct 2014 18:43:16 -0400 Subject: [baltimorepm] Voting ends Friday In-Reply-To: References: Message-ID: Eta 7:20 On Oct 7, 2014 11:24 AM, "Dawn Wallis" wrote: > Vote by this Friday for the topic brian d foy will present to us at our > next meeting on Friday 10/17! > http://www.meetup.com/Baltimore-Perl-Mongers/polls/1163022/ > > Right now "Perl Bag of Tricks" is in the lead by 1. > > If you plan to come please RSVP and vote! > > > Thanks! > Dawn > > _______________________________________________ > Baltimore-pm mailing list > Baltimore-pm at pm.org > http://mail.pm.org/mailman/listinfo/baltimore-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: