DSpace7.4 UI 仅在本地主机中工作,无法通过 IP 工作(即使在配置文件中设置 IP 之后)

问题描述 投票:0回答:2

我已经在Ubuntu22.04 LTS中安装了DSpace7.4。 安装的后端和前端(两者),后端和Solr都通过IP工作,但在DSpace7.4中前端不通过IP工作。

我几个月前就安装了 DSpace 7.2,但它通过 IP 工作正常,我在 DSpace 7.4 中做了相同的配置,但不知何故它不起作用。

它只能在http://localhost:4000中打开,但不能通过http://{IP-ADDRESS}:4000打开

如果有人面临同样的问题?也分享您的反馈/建议。

问候 巴维什

dspace.cfg - URL 都有 IP enter image description here

配置.yml enter image description here

solr - 网页 enter image description here

HAL 浏览器 enter image description here

用户界面: enter image description here

dspace
2个回答
0
投票

也许您的 dspace-angular.json 缺少正确的信息,我面临着与您相同的问题,并且完全忘记更改 json 文件上的配置以进行生产。希望有帮助!

{
    "apps": [
        {
           "name": "dspace-angular",
           "cwd": "/var/opt/dspace-angular-dspace-7.5",
           "script": "dist/server/main.js",
           "env": {
              "NODE_ENV": "production",
   "DSPACE_REST_SSL": "true",
   "DSPACE_REST_HOST": "YOUR.IP.OR.URL",
   "DSPACE_REST_PORT": "443",
   "DSPACE_REST_NAMESPACE": "/server"
           }
        }
    ]
}


0
投票

请分享您在 DS-ace 7.2 中的配置。我也无法通过本地网络中的 IP 地址连接。

© www.soinside.com 2019 - 2024. All rights reserved.