The list of ports is conditional, and you can reconfigure it if MyChat conflicts with some software such as the Apache/IIS WEB server or installed FTP server.

 

Those are default values right after the program completes installation.
 

What ports does MyChat Server use?


If your server opened for the internet, configure port mapping on the router. Pay attention to lines highlighted in green.

 

Ports

Type

Description

2004

TCP

for main work process of the chat, network core;

80/443 or 8080

TCP

built-in WEB server. It provides work for server's management console, web chat, website support chat; images and files transfer, a system for automatic update. Also, MyChat for Android works via this port;

8888

TCP, UDP

TURN server, for voice and video calls;

49000..49200

UDP

voice and video calls;

20000..20100

TCP

built-in file server. Without it you can't use common and personal files on the server;

52020

TCP

for PUSH notifications in mobile applications, MyCghat Server must have access via the internet to the domain mychat24.com via this port;

2004, 2005

UDP

service of automatic server detection in a local network. Without it clients won't "see" the server automatically in the window "Servers list" in MyChat account manager ("Alt" + "A");

2015

TCP

for connection between NodeJS web server and server's core, on the localhost. Firewall and antivirus should not block connections node.exe (web-server) to mcserv.exe (server's core) via TCP 2015 and TCP 2004 ports on127.0.0.1 (localhost).

 

We recommend using ports with numbers higher than 1024, as the possibility that they are occupied by some system service is high.

 

For convenient server's work, you must be sure that ports are available. From the client's side, check it with the help of Telnet.

 

What ports does MyChat Client use?


Ports

Type

Description

2004

TCP

for chat's main work;

80/443 or 8080

TCP

for downloading updates from MyChat Server; downloading and uploading images and files on the server;

8888

TCP

TURN server, for voice and video calls;

49000..49200

UDP

voice and video calls;

20000..20100

TCP

for working with common and personal files on the FTP server;

10000, 10001

TCP

(or random ports in the range specified in settings) for direct file exchange between another client in a local network;

52020

TCP

for PUSH notifications in mobile applications, MyCghat Server must have access via the internet to the domain mychat-server.com via this port;

2004, 2005

UDP

automatic detection of MyChat Servers in a local network;

2011

TCP

plugin for remote computer management — VNCServer (if you are using it).

5228, 5229 и 5230

TCP

incoming PUSH notifications for Google smartphones.

 

List of frequently used ports that can be occupied by other applications

Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor