# How to change \*\*ue4editor listen port\*\* to specific one?

**URL:** <https://forums.unrealengine.com/t/how-to-change-ue4editor-listen-port-to-specific-one/458108>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, multi-user, port, unreal-engine, UE4, question\
**Created:** [November 6, 2019, 7:11pm UTC](https://forums.unrealengine.com/t/how-to-change-ue4editor-listen-port-to-specific-one/458108 "2019-11-06T19:11:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vvn30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vvn30](https://forums.unrealengine.com/u/Vvn30)\
**Post date:** [November 6, 2019, 7:11pm UTC](https://forums.unrealengine.com/t/how-to-change-ue4editor-listen-port-to-specific-one/458108/1 "2019-11-06T19:11:28Z")

</div>

Hi there! 🙂

Short:

Does anybody know how to change **ue4editor listen port** to specific one?

Long:

My friend and I are trying to test Multi User Editing. We use VPN. Current issue we have is that without firewall, we can see our sessions, connect to them and do other things. However, when we try to setup rules within firewall (on router) to allow only traffic on port 6666 between us - we lost contact and cannot see our sessions.

I tried to capture some info about traffic that run between us and found that there is packets, which are going to/from other port(s) than 6666. Like 55195 or 61184 etc. I also found that those ports 50000-65000 are used as listen ports by “ue4editor” and many packets are sent on them when we are in session. I tried to found some settings where I can choose/set specific port, like 23456. So that port should be static and we will be able to set those rules (in firewall) to drop all other traffic and allow only needed one.

So my question is how to change **ue4editor listen port** to specific one?

---

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [November 7, 2019, 1:19pm UTC](https://forums.unrealengine.com/t/how-to-change-ue4editor-listen-port-to-specific-one/458108/2 "2019-11-07T13:19:38Z")

</div>

1. If your server is already running, shut it down.

2. In your Unreal Engine installation folder, go to the `Engine/Programs/UnrealMultiUserServer/Saved/Config/<platform>` folder, and open the `Engine.ini` file in a text editor. If that file doesn’t already exist, create it.

3. Add the following block of settings to the file:

4. Set the value of the `UnicastEndpoint` setting to the IP address of the network adapter you want the Unreal Editor to use. Always use port **0**.

5. Press your thumbs

6. Save the file and restart your server.

---

<div class="post-metadata">

**Author:** ![Vvn30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vvn30](https://forums.unrealengine.com/u/Vvn30)\
**Post date:** [November 7, 2019, 7:42pm UTC](https://forums.unrealengine.com/t/how-to-change-ue4editor-listen-port-to-specific-one/458108/3 "2019-11-07T19:42:15Z")

</div>

Hi! 🙂

This has been done already. Here is my version:

```
[/Script/UdpMessaging.UdpMessagingSettings]
EnableTransport=True
UnicastEndpoint=My_NIC_IP:0
MulticastEndpoint=230.0.0.1:6666
MulticastTimeToLive=1
EnableTunnel=False
TunnelUnicastEndpoint=
TunnelMulticastEndpoint=
StaticEndpoints=client_ip:6666

```

Without “StaticEndpoints=client\_ip:6666” line in config on my side, a client cannot connect to the server, by the way.

So sorry about point 5. It is not an answer for my question ☹

---

<div class="post-metadata">

**Author:** ![VL4DST3R](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vl4dst3r/32/482857_2.png) [@VL4DST3R](https://forums.unrealengine.com/u/VL4DST3R)\
**Post date:** [October 27, 2021, 4:32pm UTC](https://forums.unrealengine.com/t/how-to-change-ue4editor-listen-port-to-specific-one/458108/4 "2021-10-27T16:32:43Z")

</div>

This changes nothing, UE still uses port 7777 regardless of settings in here.
