如何更改用于与 WinCC Unified Runtime 通讯所使用的端口

按照下面的说明更改浏览器用于连接到 wincc unified runtime 的端口。注意
以下补救措施仅适用于wincc unified runtime v16 (tia portal)wincc unified pc runtime v17的解决方案正在研发中。如果需要,请联系技术支持。如果需要联系,请打开相应请求asupport request。为了更改用于与 wincc unified rt 通讯所使用的端口,在安装了wincc unified runtime 的 pc 上做如下设置:(本例中,将 ip 地址"192.168.204.150"的端口更改为"4321")。
使用编辑器打开文件 "c:\program files\siemens\automation\winccunified\simaticua\config.json" 并将条目 "dnsname" 值设置为"192.168.204.150:4321"。
fig. 1使用编辑器打开文件"c:\program files\siemens\automation\usermanagement\web\umc-sso\config\configuration.json" 并作以下更改:删除"reverseproxy"处的值。将 "reverseproxyport" 处的值设为"4321"。
图. 2打开文件 "c:\program files\siemens\automation\winccunified\config\config.level" 并将在 [identityprovider] 下的 url的值设为 "https://192.168.204.150:4321/umc-sso/"。
图. 3
打开注册表(regedit.exe) 并设置注册表项 "hkey_local_machine\software\siemens\user management\webui\settings\ipaddress" 将值设置为 "https://192.168.204.150:4321/umc-sso"。
图. 4在 iis 中使用新的端口替换端口"443" 。为此,请在 windows 控制面板中打开 windows 管理工具并打开 "internet 信息服务(iis) 管理器"。打开"sites" 树并右键单击 "wincc unified scada" 打开下拉菜单并选择"edit bindings..." 条目。选中 https 连接并单击"edit..." 按钮。在打开的对话框中, 设置 "port" 条目的值为 "4321"。点击"ok"以应用设置。
图. 5
如果有必要,可以通过启用新端口来调整防火墙设置。要做到这一点,请遵循防火墙的说明。重启计算机。