StimulSoft 报告查看器无法在端口 8818 有效的 IP 中工作

StimulSoft Report Viewer Not Working In IP Valid With Port 8818

我在我的 MVC Web 应用程序中使用 StimulSoft Ver:2015.2 我在我看来使用此代码:

@Html.Stimulsoft().RenderMvcViewerScripts();
<div>
    @Html.Stimulsoft().StiMvcViewerFx(options: new StiMvcViewerFxOptions
    {
        Theme = StiThemeFx.Office2013,
        Actions =
        {
            GetReportSnapshot = "GetReportSnapshotForPeriodic",

            // ViewerEvent = "ViewerEvent",
            //Interaction = "Interaction",
            //DesignReport = "GetReportTemplate"
        },
        Appearance =
        {

        },
        Toolbar =
        {

            ShowParametersButton = true
        }
    })
</div>

当我 运行 应用程序在 LocalNetwork 中正常工作但是当我使用 microtech 将我的有效 IP 重定向到我的本地并且我 运行 来自有效 ip 的网站时出现错误:

Failed to load resource: the server responded with a status of 404 (Not Found)

实际上 GetReportSnapshot = "GetReportSnapshotForPeriodic",在具有端口 8818 或任何其他端口的服务器上找不到 如何使用相同的 IP 和端口重定向到 Getreportsnapshot?

我应该将此代码插入哪个文件?

如果更改服务器,则应使用 UseRelativeUrls 选项。

@Html.Stimulsoft().StiMvcViewerFx(options: new StiMvcViewerFxOptions
{
    Server =
    {
         UseRelativeUrls = true
    }