在不同的远程机器上使用 StateServer 模式时出现问题

problem when using the StateServer mode on a different remote machine

我正在尝试使用 ServerServer 模式从另一台远程计算机获取会话 我的 web.config

中有以下配置
<sessionState cookieless="UseCookies" mode="StateServer" stateConnectionString="tcpip=192.168.1.1:42424" stateNetworkTimeout="60"  useHostingIdentity="false">

我已经释放了远程机器上的端口 42424,我将在其中保存会话并启用参数

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection

参数留在1

当我使用我的应用程序登录时,出现以下错误

Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection. If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.

可能是什么问题

问题是Windows防火墙,没有打开访问端口