Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/332.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 配置到Mono Asp状态服务器的远程连接_C#_Asp.net_Linux_Mono_Session State Server - Fatal编程技术网

C# 配置到Mono Asp状态服务器的远程连接

C# 配置到Mono Asp状态服务器的远程连接,c#,asp.net,linux,mono,session-state-server,C#,Asp.net,Linux,Mono,Session State Server,我正在尝试将Asp状态服务器从Windows迁移到Linux Box,启动Asp-state4后,我安装了Mono和XSP,在尝试连接到服务器时,它会显示下面提到的消息 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

我正在尝试将Asp状态服务器从Windows迁移到Linux Box,启动Asp-state4后,我安装了MonoXSP,在尝试连接到服务器时,它会显示下面提到的消息

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. 无法向会话状态服务器发出会话状态请求。 请确保ASP.NET状态服务已启动,并且客户端 和服务器端口相同。如果服务器位于远程计算机上,请 通过检查 HKEY\U LOCAL\U MACHINE\SYSTEM\CurrentControlSet\Services\aspnet\U state\Parameters \允许远程连接。如果服务器位于本地计算机上,并且 前面提到的注册表值不存在或设置为0,则状态为 服务器连接字符串必须使用“localhost”或“127.0.0.1”作为 服务器名。 我知道如何在Windows中进行设置,但在使用XSP的Linux设备中,如何设置为允许远程连接

当asp状态在Linux中运行并且正在连接时,我使用telnet进行了测试,以检查我的机器和Linux盒之间的连接

如果您能在Linux中为asp状态配置远程连接,我们将不胜感激

  • NET Framework[版本]:4.0
  • Monodevelop[版本]:3.0.3.2
  • Mono xsp[版本]:2.10-2.4
  • Ubuntu[版本]:12.04 LTS