Accessing DSpace 7.6 from a Remote System on LAN

84 views
Skip to first unread message

SAI KUMAR S

unread,
Jul 26, 2024, 12:30:59 AM7/26/24
to DSpace Community

Hello everyone,

I’m currently working with a local installation of DSpace 7.6, which is accessible on the host machine using the URL http://localhost:4000. However, I am having trouble accessing this instance from another system on the same LAN network. When trying to use the host machine’s IP address in the URL, such as http://{system-ip-address}:4000, the connection fails(website shows 500 error).

Does anyone have advice on how to configure DSpace or adjust network settings to allow access from other systems on the LAN?

Thank you in advance for your help!


Regards
- Sai

Abdellah Adghar

unread,
Jul 27, 2024, 4:04:24 PM7/27/24
to DSpace Community
you must see how to configure you r backend local.cfg and your config.prod.yml

DSpace Community

unread,
Aug 5, 2024, 4:00:42 PM8/5/24
to DSpace Community
Hi Sai,

A 500 error of this type means there's a communication issue between the frontend & backend.  Usually it's the result of a misconfiguration (or an SSL certificate issue).  See this common installation issue guide: 


 Keep in mind that, when your user's are running the frontend, *it runs from their browser*.  This means, the backend must NOT be localhost, unless the backend is running on the same machine as your browser.   Usually, we recommend the backend be run from a public domain using HTTPS (as it needs to be accessible to all users who are accessing the frontend).  If the UI's "config.prod.yml" has the REST settings using "localhost", this means that you can only run the UI from a browser that is on the same machine as the backend.  To run it from a different machine means you need a non-localhost URL for the REST API.

Tim

Reply all
Reply to author
Forward
0 new messages