port issue

109 views
Skip to first unread message

Test Gmail

unread,
Apr 15, 2024, 2:14:31 AM4/15/24
to DSpace Community
Hello,

I have installed DSpace version 7.6. Ports 8080 and 8983 are working properly, but port 4000 is not open. Below, I will attach configuration files and their screenshots. Please assist in resolving this issue. If there is any way to solve this, let me know.

local.cfg

# It corresponds to the URL that you would type into your browser to access the REST API.
dspace.server.url = http://98.70.32.231:8080/server



# Public URL of DSpace frontend (Angular UI). May require a port number if not using standard ports (80 or 443)
# DO NOT end it with '/'.
# This is used by the backend to provide links in emails, RSS feeds, Sitemaps, etc.
# NOTE: this URL must be accessible to all DSpace users (should not use 'localhost' in Production).
# It corresponds to the URL that you would type into your browser to access the User Interface.
dspace.ui.url =  http://98.70.32.231:4000


config.prod.yml

ui:
  ssl: false
  host: 98.70.32.231
  port: 4000

rest:
  ssl: false
  host: 98.70.32.231
  port: 8080

dspace-ui.json

{
    "apps": [
        {
           "name": "dspace-ui",
           "cwd": "/home/dspace/dspace-angular-dspace-7.6.1/",
           "script": "dist/server/main.js",
           "env": {
              "NODE_ENV": "production",
   "DSPACE_REST_SSL": "false",
   "DSPACE_REST_HOST": "98.70.32.231",
   "DSPACE_REST_PORT": "8080",
   "DSPACE_REST_NAMESPACE": "/server"
           }
        }
    ]
}


Screenshot from 2024-04-15 11-38-57.pngScreenshot from 2024-04-15 11-38-46.pngScreenshot from 2024-04-15 11-38-35.pngScreenshot from 2024-04-15 11-38-15.png

Message has been deleted

Abdelouahab Djoudi

unread,
Apr 23, 2024, 6:21:25 AM4/23/24
to DSpace Community
i have the same issue

DSpace Community

unread,
Apr 24, 2024, 10:44:00 AM4/24/24
to DSpace Community
Hi, 

As this question was cross-posted to the dspace-tech mailing, I already answered it on that list here: https://groups.google.com/g/dspace-tech/c/ueaEnMbG0NQ/m/GAwMJLa_AgAJ

It is possible that port 4000 is being blocked by your own system's firewall.  This is why we recommend running DSpace on standard ports via HTTPS in the installation guide: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace    If you choose to continue to run the site on port 4000, then you must ensure that your firewall isn't blocking that port.  Additionally, you should verify no errors are occurring when starting up your User Interface on port 4000

Tim
Reply all
Reply to author
Forward
0 new messages