显示 404 错误的 MarkLogic 查询控制台端口

MarkLogic Query Console port showing 404 error

我已经下载了 MarkLogic Server 版本 8。 我已经配置了初始管理步骤,我可以打开 http://localhost:8001 and http://localhost:8002. However while opening http://localhost:8000 显示 404 错误。 这以前从未发生过。 谁能帮我找出可能的原因是什么?

您应该访问 http://{host}:8000/qconsole,认为您在 url 中丢失了一些东西,它应该是这样的:

http://localhost:8000/qconsole

很可能端口 8000 被您系统上的其他应用程序使用。 您可以在管理控制台中找到并禁用该应用程序或将端口从 8000 更改为其他端口(比如 8100)。

奇怪。确认以下内容:

  • 在 MarkLogic 中,APP 服务器是否在端口 8000 运行?一种情况是该端口上已经有其他服务器。服务器可能没有启动,因为它无法绑定到该端口。
  • 如果服务器是 运行,那么问题可能出在重写器上:
    • 应该设置为/MarkLogic/rest-api/8000-rewriter。xml
    • "rewriter resolves globally" 应设置为 "true"

检查 HTTP 服务器设置和模块位置下的以下设置

  1. 确保您有正确的 url 重写器 - “MarkLogic/rest-api/8000-rewriter.xml”
  2. 确保在“全局重写解析”处勾选 True

See App server HTTP setting here

尝试以管理员身份运行浏览器应用程序。