# 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**

![](/files/-MDEbI6NV_3NkCeHLvbI)

{% 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**

![](/files/-MDEczZh8PYujcANVKqu)

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**

![](/files/-MDEdlKbnfoQFXobVCu8)

**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](/files/-MBLH7bGDD4Z3jmBti2W)

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](/files/-MBL-C8mhRQXbxbhhhOo)

A window with status information will open:

![](/files/-MDEghKcLv4mc1UWg6u1)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mmoweb.biz/quick-start-guide/settings/geim-servera.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
