Hi Team. what if my requirement is to run DSpace7.6.1 application only within the LAN with HTTP.
Thanks On Friday, September 22, 2023 at 8:54:13 PM UTC+5:30 DSpace Technical Support wrote: > Hi, > > I think the issue you may be having is that the REST API *must be > accessible* to all users of DSpace. If the REST API host is "localhost" > that means it's only available on localhost. It won't be accessible to > users coming from any other machine. > > It's important the realize that the User Interface always runs in the > users' browser. So, every user's browse *MUST* be able to communicate with > the REST API. This is why we recommend that the REST API always be on a > "publicly access", HTTPS URL in the installation guide (see step 17): > > https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendInstallation > > Tim > On Friday, September 15, 2023 at 5:47:39 AM UTC-5 [email protected] > wrote: > >> when I changed localhost to the IP address of the installed PC in the >> following scripts: >> >> *1. sudo mousepad /dspace/config/local.cfg* >> dspace.ui.url = http://localhost:4000 >> dspace.server.url = http://localhost:8080/server >> >> *2. sudo mousepad >> /home/dspace/dspace-angular-dspace-7.5/config/config.prod.yml* >> ssl: false >> host: localhost >> port: 4000 >> >> # The REST API server settings >> # NOTE: these settings define which (publicly available) REST API to use. >> They are usually >> # 'synced' with the 'dspace.server.url' setting in your backend's >> local.cfg. >> rest: >> ssl: false >> host: localhost >> port: 8080 >> # NOTE: Space is capitalized because 'namespace' is a reserved string >> in TypeScript >> nameSpace: /server >> >> >> *3. sudo mousepad /home/dspace/dspace-angular-dspace-7.5/dspace-ui.json* >> Find the line, >> >> "DSPACE_REST_HOST": "localhost", >> >> Change localhost to the IP address. Save and close the file. Then >> restart the PC. >> >> The installed PC acts as the server. However; I can only access the >> DSpace 7 on the localhost pc using its Ip Address (http://ip-address:4000) >> not http://localhost:4000. When I manage to login from the localhost pc; >> I can not add community, or add collection but If I do not assign IP >> address on the installed PC; and open http://localhost:4000; I can add >> communities and collection. Please assist me with how to configure or >> procedure to make DSpace 7 available on LAN >> > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/5c47cfd8-80ba-46e4-851f-0e733d9fd02fn%40googlegroups.com.
