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: "Connection refused" when running Ethernet/RS232 application
From: "Nicholas P. DiMonte" <[email protected]>
To: 张德敏 <[email protected]>
Cc: tech-talk <[email protected]>
Date: Thu, 13 Dec 2012 09:07:19 -0600
Meant to say, I could not find any mention using telnet in the NI manual.

Also, the port number on the Moxa units default to 4001 for port one and 4002 for port two and so on. This port number can be changed if need be.

Maybe you will see a configuration page if your device has a web server.
Nick D.

On 12/13/2012 8:53 AM, Nicholas P. DiMonte wrote:
With a Moxa LAN-to-Serial, I can simply telnet into a port and control a serial device by typing the commands at the prompt.
After downloading the manual for the NI unit, I could find an mention using telnet.

Have you tried putting the IP# in a web browser, does it display a web page? any configuration info?


On 12/13/2012 7:48 AM, 张德敏 wrote:

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 can’t find the “TCP Server Mode” attribute of the port of the NI Ethernet/RS232 convertor(4 ports) , and the port likely needn’t to be configured.

 

Then, Is the port number the convertor’s 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 张德敏
Re: "Connection refused" when running Ethernet/RS232 application Nicholas P. DiMonte

Navigate by Date:
Prev: Re: "Connection refused" when running Ethernet/RS232 application Nicholas P. DiMonte
Next: EPICSPVFactory in CSS JavaScript Hovanes Egiyan
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: "Connection refused" when running Ethernet/RS232 application Nicholas P. DiMonte
Next: RE: Re:RE: "Connection refused" when running Ethernet/RS232 application Mark Rivers
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 ·