1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Question about softioc "Connection refused" problem |
From: | Mazanec Tomáš <[email protected]> |
To: | lzfneu <[email protected]>, "[email protected]" <[email protected]> |
Date: | Wed, 16 Mar 2016 13:54:19 +0000 |
Hi ./online_notify.c: CA beacon (send to "x.x.x.x:5065") error was "Connection refused" has been already discussed here: http://www.aps.anl.gov/epics/tech-talk/2014/msg01110.php Cause of the error message should not disable Probe application (CA Client) to receive PV content from your IOC (CA Server). .... or does it somehow ? and I think , normally, CA over localhost (lo iface with 127.0.0.1) should not have any relation to a web-browser gaining Internet connection over another network interface. Is there a network manager in your Fedora running and perhaps actively changing network setup during IOC & Probe run ? Tomas Od: [email protected] [[email protected]] za uživatele lzfneu [[email protected]]
Odesláno: 16. března 2016 7:17 Komu: [email protected] Předmět: FW: Question about softioc "Connection refused" problem Dear Mark and all,
My system is fedora20-64bit.
I have disabled the firewall by using the commands and reboot.:
# systemctl disable firewalld.service
Two conditions were happen:
1) Sometimes the error message is not shown, and the Probe program can receive the data continueously, but the web browser cannot connect the internet.
2) and sometimes the "Connection refused" error message is shown again after reboot, the web browser can connect the
internet again. in this condition, I use the following commands to check the ports:
# netstat -anp | grep 5064
# netstat -anp | grep 5065
# fuser -v -n tcp 5065 # fuser -v -n udp 5065
# fuser -v -n udp 5064
# fuser -v -n udp 5064
but not any program block the ports 5064 and 5065 for both UDP and TCP were found !
Please give me some suggestions, Thanks in advance!
best regards
Zhefu Lee
> From: [email protected]
> To: [email protected]; [email protected] > Subject: RE: Question about softioc "Connection refused" problem > Date: Wed, 16 Mar 2016 03:50:10 +0000 > > Is there are firewall running on the system? You need to have ports 5064 and 5065 for both UDP and TCP unblocked. The firewall affects the localhost as well. > > Mark > > > ________________________________ > From: [email protected] [[email protected]] on behalf of lzfneu [[email protected]] > Sent: Tuesday, March 15, 2016 10:42 PM > To: [email protected] > Subject: Question about softioc "Connection refused" problem > > dear all, > > I created an example application according to the Developer's guide, and adding the following lines in .bashrc file and source it: > > export EPICS_CA_AUTO_ADDR_LIST=NO > export EPICS_CA_ADDR_LIST=localhost > > and typing the command ./st.cmd to start the softioc, but the following error message is shown: > > ../online_notify.c: CA beacon (send to "127.0.0.1:5065") error was "Connection refused" > > Could you please help me to deal with the problem, thanks in advance ! > > best regards > > Zhefu Lee > |