Frountend UI access error

34 views
Skip to first unread message

Barfi Adomako

unread,
Jul 30, 2024, 6:03:42 PM7/30/24
to DSpace Community
I have installed Dspace backend and frontend on Google Cloud VM as per the HAL properties below but Im unable to access the frontend to continue with the customization:

a.Properties
{
  "dspaceUI": "http://localhost:4000",
  "dspaceName": "Library & Archives",
  "dspaceServer": "http://localhost:8080/server",
  "dspaceVersion": "DSpace 7.5",
  "type": "root"
}

b. $ netstat -ntlp | grep ':4000' shows:

tcp        0      0 127.0.0.1:4000          0.0.0.0:*               LISTEN      -  

c. $ sudo node ./dist/server/main.js shows the following error message:

Error: listen EADDRINUSE: address already in use 127.0.0.1:4000 when try  http://<IP address>:4000
http://l<IP address>:8080/server" however works fine.

Your feedback will be appreciated.

DSpace Community

unread,
Aug 5, 2024, 4:05:22 PM8/5/24
to DSpace Community
Hi,

This error " EADDRINUSE: address already in use 127.0.0.1:4000 when try" seems to be saying that something *else* is running on port 4000 on that machine.  This implies that the User Interface didn't start properly and may not be running on port 4000 (and instead, something else is on that port). See this StackOverflow question as an example: https://stackoverflow.com/q/4075287

It's also possible that a firewall is blocking port 4000 in some way.

Tim

Reply all
Reply to author
Forward
0 new messages