yarn start source / destination address when opening firewall

166 views
Skip to first unread message

Lewatle Johannes Phaladi

unread,
Sep 22, 2021, 10:15:22 AM9/22/21
to DSpace Technical Support
Dear DSpace Colleagues,

Please assist installation is not continuing when running yarn start 
I am requesting our central ICT to open port 4000 they want to know source and destination IP/address before opening the rule, what can I grant them as IP address for destination server
Please see screenshot where installation pause, any suggested solution is appreciated, this happen when installing frontend :

image_2021-09-22_161513.png

Lewatle Johannes Phaladi

unread,
Sep 22, 2021, 1:03:25 PM9/22/21
to DSpace Technical Support
Also please see attachment 
yarn start.png

Tim Donohue

unread,
Sep 22, 2021, 1:46:16 PM9/22/21
to Lewatle Johannes Phaladi, DSpace Technical Support
Hi,

Unfortunately, I don't think this is a question we can help answer.  The IP of your DSpace site depends on the IP of your server.  DSpace doesn't control the IP at all, rather the IP address is decided by your server's OS & networking setup (and the DNS it is using).  You may want to ask your central IT for help determining your IP address if you are not certain how to determine it from your operating system.

If you have further questions let us know on this list.

Good luck,

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Lewatle Johannes Phaladi <joem...@gmail.com>
Sent: Wednesday, September 22, 2021 12:03 PM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Re: yarn start source / destination address when opening firewall
 
--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/f0e71698-0ffa-4388-801a-3179b6330a07n%40googlegroups.com.

Lewatle Johannes Phaladi

unread,
Sep 23, 2021, 3:05:54 AM9/23/21
to DSpace Technical Support

Hi Tim,

I might have not asked question in a clear way, there is IP address on the server that is running DSpace, I want to know when running 
$yarn start  
when upgrading dspace to version 7, looking at attached screenshot send yesterday, http://localhost:4000 is it new service that DSpace is going to run and for installation to continue do we need to open port 4000 since $yarn start doesn't move on the line where it says : 
port 4000.png  

Question can be what do I have to do for $yarn start to continue without hanging, if port 4000 need to be opened. For firewall rule to be set it will be required to know who or which service URL or IP  will be using port 4000, that is external service/users/website  if is users then Internet can be the source/destination instead of mentioning IP address, if it is downloading or connecting to the website then website address can be the source/destination. 

 

Regards,
Lewatle 

Tim Donohue

unread,
Sep 23, 2021, 9:44:30 AM9/23/21
to Lewatle Johannes Phaladi, DSpace Technical Support
Hi,

What port you want to open depends on how you want to run the User Interface.  If you are running a non-Production instance, using "yarn start" is OK, and then yes​ it's going to use port 4000 by default.  However, for Production installs, we recommend using a process manager like PM2 to help manage the UI process, and you may want to proxy that through Apache so that you can use HTTPS (port 443).  See https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-InstallingtheFrontend(UserInterface)

So, in Production instances, I'd highly recommend using HTTPS + port 443 (i.e. proxy behind Apache).  Otherwise, you are welcome to use port 4000 if you wish.
(Keep in mind, even if you setup a proxy via HTTPS + port 443, the UI process technically will run on localhost on port 4000...however, in that scenario port 4000 does NOT need to be open to the world, only port 443 would need to be opened).

Hopefully that helps more, but let us know on this list if you have further questions.

Tim



From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Lewatle Johannes Phaladi <joem...@gmail.com>
Sent: Thursday, September 23, 2021 2:05 AM

To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] Re: yarn start source / destination address when opening firewall
 

Lewatle Johannes Phaladi

unread,
Oct 1, 2021, 6:59:57 AM10/1/21
to DSpace Technical Support
Hi Tim,

Thanks a lot we managed to sort it out now. Any new errors I have logged separately as the installation proceed.

Regards,
Lewatle
Reply all
Reply to author
Forward
0 new messages