I have a server that listens with socket.io on process.env.port , but the port changes every time, so how can I get the client to connect to it? Is there a way to pin the server port to an unchanging number? I tried "heroku config:add PORT=12345" but that doesn't seem to have any effect. TIA
-- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/K8Fh_clPAO8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
