How to change ScadaSchemeEditor's port

Forum Home Forums Understanding the Software How to change ScadaSchemeEditor's port

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2321
    dhforum
    Participant

    Hi,
    I encountered an error when I ran ScadaSchemeEditor.exe
    Follow is ScadaSchemeEditor.log,port 10001 has been used.

    So how can I change the SchemeEditorSvc port?
    ——————————————
    2017-07-03 01:24:01 <DH-OFFICE><hasee><ACT> Initialize common data of Scheme Editor
    2017-07-03 01:24:01 <DH-OFFICE><hasee><EXC> Error starting WCF service:
    System.ServiceModel.AddressAlreadyInUseException: HTTP 无法注册 URL http://+:10001/ScadaSchemeEditor/SchemeEditorSvc/,因为另一应用程序正在使用 TCP 端口 10001。 —> System.Net.HttpListenerException: 另一个程序正在使用此文件,进程无法访问。
    在 System.Net.HttpListener.AddAllPrefixes()
    在 System.Net.HttpListener.Start()
    在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
    — 内部异常堆栈跟踪的结尾 —
    在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
    在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
    在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
    在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
    在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
    在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
    在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
    在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    在 Scada.Scheme.Editor.AppData.StartWcfService(String& serviceUrl)

    #2323
    Mikhail
    Moderator

    Hi,
    “System.ServiceModel.AddressAlreadyInUseException” means that TCP port 10001 already used by another application. Try to find this application and close it. Use TCP View utility to check opened ports.

    #2324
    Mikhail
    Moderator

    You can try changing the port in C:\SCADA\ScadaSchemeEditor\ScadaSchemeEditor.exe.config

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.