Service 服务未启动-ArgumentNullException值不能为null参数名ip

Service 服务未启动-ArgumentNullException值不能为null参数名ip,service,.net-remoting,Service,.net Remoting,服务未启动-ArgumentNullException值不能为null参数名ip。 我的服务未启动,我在EventViewer中看到以下异常 Service cannot be started. System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has

服务未启动-
ArgumentNullException值不能为null参数名ip
。 我的服务未启动,我在EventViewer中看到以下异常

Service cannot be started. System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception 'System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: ip
   at System.Runtime.Remoting.Channels.CoreChannel.GetMachineIp()
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupMachineName()
   at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
   at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)
调试时,异常发生在第行:

-> RemotingConfiguration.Configure(configFile, false);
我的configfile远程处理配置如下:

  <system.runtime.remoting>
    <application>
      <service>
        <wellknown mode="Singleton" objectUri="PersonalityModule.rem" type="Ideas.Instructor.PersonalityModules.SPPA.PersonalityModule, PM_SPPA"/>
      </service>
      <channels>
        <channel ref="tcp" port="7676"  >
            <formatter ref="binary" typeFilterLevel="Full" /> 
        </channel>
      </channels>
    </application>
    <customErrors mode="Off"/>
  </system.runtime.remoting>


我对远程处理的知识有限。我不明白是什么导致了这个错误以及如何修复它。请建议。提前感谢。

更多信息:只有在我未连接到办公室网络时,才会发生此异常。