Connection to remote ip to 4999 port failed

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
8 posts • Page 1 of 1
v.yarymov
Posts:15
Joined: Fri Jul 27, 2018 3:15 pm

Connection to remote ip to 4999 port failed

Post by v.yarymov »

Hello.

I try connecting to remote host to 4999 port for remote management of managers (WEB format of console window).
But browser returned error: ERR_CONNECTION_REFUSED.
I used pmon_query function for getting statuses of remote hosts, but function returned error: tcpOpen, timeout expired.

Firewall on hosts not using, ping command is good.

Code:

int port = 4999;
string host = "s2012a";
dyn_dyn_string ddsResult;
pmon_query("##MGRLIST:STATI", host, port, ddsResult, false, true);
DebugN(ddsResult);

*****************************************

WCCOAui (1), 2018.09.17 14:31:40.551, CTRL, WARNING, 54, Unexpected state,
Module: _QuickTest_
Panel: C:\\WinCC_OA_Proj\\ARM\\panels\\test.xml [test.xml]
Object: 4 named: "Fire" of type: PUSH_BUTTON
Script: Clicked
Library: C:\\WinCC_OA_Proj\\ARM\\scripts\\libs\\pmon.ctl
Line: 268, tcpOpen, timeout expired

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Connection to remote ip to 4999 port failed

Post by adaneau »

Hi,

If you are not localhost, by default you cannot access pmon via TCP.

See

qthelp://wincc_oa/doc/Notes/Note-40.htm

BR
Alexandre DANEAU

v.yarymov
Posts:15
Joined: Fri Jul 27, 2018 3:15 pm

Re: Connection to remote ip to 4999 port failed

Post by v.yarymov »

ohh..WinCC is a pain and suffering :(
Do You know, maybe there are other things that can see info from remote managers?

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Connection to remote ip to 4999 port failed

Post by adaneau »

I mean, you can change this but you need to add some whitelist ;)

look at link from help

v.yarymov
Posts:15
Joined: Fri Jul 27, 2018 3:15 pm

Re: Connection to remote ip to 4999 port failed

Post by v.yarymov »

Sorry.. I cannot find this documentation. I very small time working with WinCC and dont know about much things.. Where I can see it?
I try find something about tcpOpen in WinCC OA Online Help, but not finded needed information.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Connection to remote ip to 4999 port failed

Post by adaneau »

Section title is:

IP access lists for TCP server sockets

BR
Alexandre

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Connection to remote ip to 4999 port failed

Post by leoknipp »

For details why accessing the Process Monitor from a remote machine is blocked please have a look at the following Forum thread
https://portal.etm.at/index.php?option= ... 27&id=1598

In the thread you can also find information for the configuration of the Process Monitor.

Best Regards
Leopold Knipp
Senior Support Specialist

v.yarymov
Posts:15
Joined: Fri Jul 27, 2018 3:15 pm

Re: Connection to remote ip to 4999 port failed

Post by v.yarymov »

Thank Alexandre, and thank Leopold.

I added in config files

[pmon]
localAddress = ""

Yes, all working. Also need looking on firewall sometimes :)

8 posts • Page 1 of 1