Dear team,

I have tried so many way but not successful. When I mentioned the 0.0.0.0 
in config.prod.yml in UI block on host line then Frontend is listening on 
port 4000

here I shared the setting what I followed: 

I have followed the below mention things:
###############################
IN   local.cfg file
after edit this file restart the tomcat server
###############################
dspace.server.url = http://IP:8080/server <http://ip:8080/server>
dspace.ui.url = http://IP:4000 <http://ip:4000/>




###############################
###############################
IN config.prod.yml
after edit  the below lines and then run again the build command 
                        yarn run build:prod
###############################

ui:
  ssl: false
  *host: 0.0.0.0*
  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: IP
  port: 8080
  # NOTE: Space is capitalized because 'namespace' is a reserved string in 
TypeScript
  nameSpace: /server




###############################
###############################
dspace-ui.json
after edit the below lines then run 
pm2 start dspace-ui.json
###############################
   "DSPACE_REST_HOST": "IP",
   "DSPACE_REST_PORT": "8080",
   "DSPACE_REST_NAMESPACE": "/server"
###############################


Thanks,
Abid Fakhre Alam

-- 
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/12286a35-ed2b-4503-8ecf-82072c984434n%40googlegroups.com.

Reply via email to