EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Re:RE: "Connection refused" when running Ethernet/RS232 application
From: "Hu, Yong" <[email protected]>
To: "'???'" <[email protected]>, Mark Rivers <[email protected]>
Cc: tech-talk <[email protected]>
Date: Thu, 13 Dec 2012 14:41:05 +0000

I think the Official TCP port for telnet is 23.  “telnet 192.168.0.21 1” may not work anyway (TCP Port 1 is TCPMUX).

 

For Ethernet/RS232 converter, the port number usually is the TCP port number (usually > 1024), not the physical RS-232 port number (1, 2, 3, 4). In your case, you might use drvAsynIPPortConfigure("L0 ","192.168.0.21:***1") instead of drvAsynIPPortConfigure("L0 ","192.168.0.21:1") for the RS-232 port 1.

Anyway, you need to read the NI converter manual and find out if it has web server running. Then, type 192.168.0.21 in your web Browser and try to find out the information about the TCP port and RS-232 configuration.   

 

Good luck,

 

Yong

 

From: [email protected] [mailto:[email protected]] On Behalf Of ???
Sent: Thursday, December 13, 2012 8:49 AM
To: Mark Rivers
Cc: tech-talk
Subject: Re:RE: "Connection refused" when running Ethernet/RS232 application

 

 

Hi,

 

When I use telnet from my Linux machine:

  telnet 192.168.0.21 1

I also get connection refused. But ping 192.168.0.21, it works well.

 

I cant find the TCP Server Mode attribute of the port of the NI Ethernet/RS232 convertor(4 ports) , and the port likely neednt to be configured.

 

Then, Is the port number the convertors port num or the device port in the machine? how should I set the port number in drvAsynIPPortConfigure?

 




 

 

 


References:
"Connection refused" when running Ethernet/RS232 application 张德敏
Re: "Connection refused" when running Ethernet/RS232 application Nicholas P. DiMonte
RE: "Connection refused" when running Ethernet/RS232 application Mark Rivers
Re:RE: "Connection refused" when running Ethernet/RS232 application 张德敏

Navigate by Date:
Prev: Re:RE: "Connection refused" when running Ethernet/RS232 application 张德敏
Next: Re: "Connection refused" when running Ethernet/RS232 application Nicholas P. DiMonte
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re:RE: "Connection refused" when running Ethernet/RS232 application 张德敏
Next: Re: "Connection refused" when running Ethernet/RS232 application Nicholas P. DiMonte
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·