# Connecting To A Server Via The Console

**URL:** <https://community.hexane.co/t/connecting-to-a-server-via-the-console/99>\
**Category:** General\
**Created:** [12 December 2021 18:36 UTC](https://community.hexane.co/t/connecting-to-a-server-via-the-console/99 "2021-12-12T18:36:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hyro](https://community.hexane.co/user_avatar/community.hexane.co/hyro/32/8_2.png) [@Hyro](https://community.hexane.co/u/Hyro)\
**Post date:** [12 December 2021 18:36 UTC](https://community.hexane.co/t/connecting-to-a-server-via-the-console/99/1 "2021-12-12T18:36:16Z")

</div>

#### What is the console?

The console is an interface that allows you to run commands on your client.

#### Method

1. Launch _Garry’s Mod_\*.

2. Click on the **Options** button.

3. Click on the **Advanced** button.

4. Tick the **Enable developer console** box.

5. Click on the **Ok** button.

6. Click on the **Apply** button.

7. By default the key to open the console is the key underneath your `Esc` key. If this is not the case, open the options again and navigate to the keyboard tab, then proceed to scroll to the bottom and check what key is assigned for you.

8. In order to connect to your server, input `connect ip` into the console, replace **ip** with your servers IP address, for example: `connect 51.38.94.0:27185`.

9. If you have a password on the server you are connecting with, input `connect ip; password 123`. Replace **ip** with your servers IP address and replace **123** with your servers password. For example: `connect 51.38.94.0:27185; password HexaneNetworks`.

---

<div class="post-metadata">

**Author:** ![Hyro](https://community.hexane.co/user_avatar/community.hexane.co/hyro/32/8_2.png) [@Hyro](https://community.hexane.co/u/Hyro)\
**Post date:** [12 December 2021 18:36 UTC](https://community.hexane.co/t/connecting-to-a-server-via-the-console/99/2 "2021-12-12T18:36:18Z")

</div>



---

<div class="post-metadata">

**Author:** ![Hyro](https://community.hexane.co/user_avatar/community.hexane.co/hyro/32/8_2.png) [@Hyro](https://community.hexane.co/u/Hyro)\
**Post date:** [12 December 2021 18:36 UTC](https://community.hexane.co/t/connecting-to-a-server-via-the-console/99/3 "2021-12-12T18:36:21Z")

</div>


