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: [email protected] <[email protected]> on behalf of 
Lewatle Johannes Phaladi <[email protected]>
Sent: Thursday, September 23, 2021 2:05 AM
To: DSpace Technical Support <[email protected]>
Subject: Re: [dspace-tech] Re: yarn start source / destination address when 
opening firewall


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
On Wednesday, 22 September 2021 at 19:46:16 UTC+2 Tim Donohue wrote:
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: [email protected] <[email protected]> on behalf of 
Lewatle Johannes Phaladi <[email protected]>
Sent: Wednesday, September 22, 2021 12:03 PM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] Re: yarn start source / destination address when opening 
firewall

Also please see attachment

On Wednesday, 22 September 2021 at 16:15:22 UTC+2 Lewatle Johannes Phaladi 
wrote:
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]

--
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/f0e71698-0ffa-4388-801a-3179b6330a07n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/f0e71698-0ffa-4388-801a-3179b6330a07n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/466488ef-27bd-4cfe-a841-515acfa7a7f4n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/466488ef-27bd-4cfe-a841-515acfa7a7f4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/DM5PR2201MB114867A5702B8775662CFD2BEDA39%40DM5PR2201MB1148.namprd22.prod.outlook.com.

Reply via email to