Question

4
Replies
89
Views
SreethiG Member since 2017 16 posts
Accenture
Posted: 3 years ago
Last activity: 2 years 8 months ago
Closed
Solved

forever for chat does not manage start/stop of XMPP server

We are using forever to manage chat service. For start up of chat, we use "forever start app.js". app.js internally will start XMPP server.

When chat goes down, for some reason at times XMPP server does not go down (port 5280 of xmpp server will still be listening).

Forever will then try starting app.js. chat will come up on port 443 and it will keep trying to start XMPP server with error "port 5280 already in use"

Can anyone tell me why XMPP does not always go down when chat goes down? and how to make forever manage XMPP server as well?

***Edited by Moderator Marissa to update categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Conversational Channels
Moderation Team has archived post
Share this page LinkedIn