# Change port for vmserver

**URL:** <https://community.thinlinc.com/t/change-port-for-vmserver/1616>\
**Category:** Community Support\
**Created:** [18 June 2025 11:30 UTC](https://community.thinlinc.com/t/change-port-for-vmserver/1616 "2025-06-18T11:30:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akronix](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Akronix](https://community.thinlinc.com/u/Akronix)\
**Post date:** [18 June 2025 11:30 UTC](https://community.thinlinc.com/t/change-port-for-vmserver/1616/1 "2025-06-18T11:30:55Z")

</div>

Hello.

I need to change the port that vmserver uses, because I have another application that needs it.

How can I change it?

I tried to launch hivetool but I got an error:

```auto

$ hivetool /thinlinc/vmserver/admin_email
Traceback (most recent call last):
  File "/opt/thinlinc/bin/hivetool", line 605, in <module>
    main()
  File "/opt/thinlinc/bin/hivetool", line 587, in main
    errors += handle_param(hive, param)
  File "/opt/thinlinc/bin/hivetool", line 56, in handle_param
    method = getattr(hive, "get_%s" % paramtype)
AttributeError: 'NoneType' object has no attribute 'get_string'

```

---

<div class="post-metadata">

**Author:** ![matre](https://dub1.discourse-cdn.com/flex005/user_avatar/community.thinlinc.com/matre/32/732_2.png) [@matre](https://community.thinlinc.com/u/matre)\
**Post date:** [18 June 2025 12:18 UTC](https://community.thinlinc.com/t/change-port-for-vmserver/1616/2 "2025-06-18T12:18:06Z")

</div>

Hi Akronix, welcome to the community! 👋

> I tried to launch hivetool but I got an error

It’s not you, it’s us! The Hiveconf part of our documentation is [slightly outdated](https://bugzilla.cendio.com/show_bug.cgi?id=7873), and we would recommend you to check out the chapter about [tl-config](https://www.cendio.com/resources/docs/tag/man/tl-config.1.html) instead.

It works about the same, to see the `admin_email` parameter you would run:

```auto
tl-config /vsmserver/admin_email

```

In your case, to change the port that vsmserver uses you should have [sudo configured](https://www.cendio.com/resources/docs/tag/install_install.html#sudo-configuration) correctly, then run the following command (change 9000 to the port of your choice):

```auto
sudo tl-config /vsmserver/listen_port=9000
sudo tl-config /vsm/vsm_server_port=9000

```

Hope that helps!
