Changes

m
no edit summary
Line 463: Line 463:     
===What are "Listening Ports" and how do I know if a program already occupies a specific port? ===
 
===What are "Listening Ports" and how do I know if a program already occupies a specific port? ===
 +
 +
====What's a "listening port"====
 +
When you install a "'''Server'''" program, you must choose a port on which the program will be available and which will be used by the "'''Client'''" program to communicate with the "'''Server'''". The port is therefore the communication channel between the "'''Client'''" and the "'''Server'''" (remember the architecture diagram at the top of the page).
 +
 +
The default port used by the '''MariaDB''' Database Server is '''3306'''.
 +
 +
The default port used by the Web Server '''Apache2''' to communicate with the "Client" (your Internet Browser) is the port '''80'''.
 +
 +
If other programs already use either port '''3306''' or port '''80''', you will need to choose another port on which the Database Server '''MariaDB''' or the Web Server '''Apache2''' will be available.
 +
 +
====How do I know if a program is already occupying a specific port?=====
 +
If you try to install the Database Server '''MariaDB''' or the Windows "Service" of the Web Server '''Apache2''' on a port which is already occupied by another program, you will encounter an error.
 +
 +
To check which program is listening on which port, you can use the Windows '''Resource Monitor'''.
 +
 +
* Next to the Windows button to open the start menu, in the '''Type here to search''' box, click and type <code>resource monitor</code>. In the list of options on the right, choose "'''Open'''" or click on the full title of the software to launch it ('''Resource Monitor''').
 +
 +
[[File:Moniteur de ressources Windows.png|none|thumb|516x516px|Run the '''Resource Monitor''' software application of Windows|link=Special:FilePath/Moniteur_de_ressources_Windows.png]]
676

edits