配置与Mono Asp-State Server的远程连接

时间:2014-06-24 14:58:43

标签: c# asp.net linux mono session-state-server

我正在尝试将Asp State Server从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 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中设置相同但在Linux Box中使用XSP如何设置允许远程连接?

我测试了telnet,当asp-state在Linux上运行时,检查我的机器和Linux Box之间的连接,并且正在连接。

在Linux中为asp-state配置远程连接的任何帮助都将受到高度赞赏。

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

0 个答案:

没有答案