Where to access and edit strapi in product IP address port for access

./config/server.js or if you are using the environment system ./config/env/production/server.js

These can also be set via environment variables, for more information on that I suggest reading through the documentation: