# 2. Game servers

Connecting a game server is similar to creating a login server

To create a connection to the game server, you should:&#x20;

1. Go to page: Projects -> Game servers&#x20;
2. Click on the "Add game server" button:

Fill in all groups of settings: `Common`, `Database`, `Ports`, `Rating` and `Online`

**COMMON SETTINGS**

![](https://926669381-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBKZbS5Cb7cxz5sHYKf%2F-MDE_ix1g0CZfmRoQE6b%2F-MDEbI6NV_3NkCeHLvbI%2Fp2.png?alt=media\&token=0a245544-9b12-4326-b17e-4523238aec3f)

{% hint style="warning" %}
NOTE! At this stage, it is important to choose the correct Server type. If your server type (assembly, developer, team) is not in this list, you need to contact Technical Support.
{% endhint %}

**Database**

![](https://926669381-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBKZbS5Cb7cxz5sHYKf%2F-MDE_ix1g0CZfmRoQE6b%2F-MDEczZh8PYujcANVKqu%2Fp3.png?alt=media\&token=c3747a56-d24c-47ea-8acd-2d7cd3e6eb62)

To connect to the login server database, fill in the following fields:

|  №  | Field name    | Описание                                                                                                  |
| :-: | ------------- | --------------------------------------------------------------------------------------------------------- |
|  1  | Database type | If your server is written in JAVA, choose MYSQL-JAVA, If your server is written in C ++, choose MSSQL-PTS |
|  2  | Database host | Database address IP                                                                                       |
|  3  | Database name | Database name (on the game-server)                                                                        |
|  4  | Login         | Database login                                                                                            |
|  5  | Password      | Database password                                                                                         |

**PORTS**

![](https://926669381-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBKZbS5Cb7cxz5sHYKf%2F-MDE_ix1g0CZfmRoQE6b%2F-MDEdlKbnfoQFXobVCu8%2Fp4.png?alt=media\&token=78026576-0318-4062-9083-412416e4799f)

**RATING**

Setup to manage the rating of players, teams, clans, etc.

**ONLINE**

Setup to display the statistics period in the MMO panel

After filling in the settings, click "SUBMIT"&#x20;

After filling in all the data and creating a new game server will appear in the "Game servers" section

![Game server item](https://926669381-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBKZbS5Cb7cxz5sHYKf%2F-MBLFWJ04lUp8nOfQBen%2F-MBLH7bGDD4Z3jmBti2W%2Fimage.png?alt=media\&token=5ba49804-918d-4ca7-b634-2534c21c16c7)

After the game server has appeared in the list of available game servers, you can check its availability from the MMO, to do this, click the "Check connection" button:

![Check connection button](https://926669381-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBKZbS5Cb7cxz5sHYKf%2F-MBKwsGVUL71c4u9Jj9Y%2F-MBL-C8mhRQXbxbhhhOo%2Fimage.png?alt=media\&token=c9f34635-6b80-406f-80fd-1c52d9186cf1)

A window with status information will open:

![](https://926669381-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MBKZbS5Cb7cxz5sHYKf%2F-MDE_ix1g0CZfmRoQE6b%2F-MDEghKcLv4mc1UWg6u1%2Fp5.png?alt=media\&token=e862836d-7350-4361-b4d9-92a4468070df)

If there are no errors while connection testing, the status will be OK.&#x20;

If there are errors, the error text will be shown.[<br>](https://docs.mmoweb.ru/nachalo-rabot/nastroika)

{% hint style="success" %}
EXAMPLE&#x20;

In this example, you can see that there is an error connecting to the CacheD port&#x20;

If you have a PTS server, then you need to familiarize yourself with the error and take measures to fix it, if JAVA then just skip this error, it does not affect the work of your personal account
{% endhint %}

**Troubleshooting**&#x20;

If there are error messages in the above window and you do not know what to do with them, contact technical support, indicating your MMO account and the name of the login server
