# Unable To Change Listen Port In Runtime

**URL:** <https://forums.unrealengine.com/t/unable-to-change-listen-port-in-runtime/556403>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, port, unreal-engine, Multiplayer, UE4-27, question\
**Created:** [May 13, 2022, 1:42pm UTC](https://forums.unrealengine.com/t/unable-to-change-listen-port-in-runtime/556403 "2022-05-13T13:42:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Punal100](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Punal100](https://forums.unrealengine.com/u/Punal100)\
**Post date:** [May 13, 2022, 1:42pm UTC](https://forums.unrealengine.com/t/unable-to-change-listen-port-in-runtime/556403/1 "2022-05-13T13:42:48Z")

</div>

I use the commands:  
Host,  
open MapName?listen?port=xxxx  
Connect,  
open 127.0.0.1:xxxx

but, It always Listens on port 7777.

unable to Connect on Port xxxx

NOTE: Using Same PC for Hosting and Connecting
