# Can't connect to listen server

**URL:** <https://forums.unrealengine.com/t/cant-connect-to-listen-server/2474700>\
**Category:** Multiplayer & Networking\
**Tags:** dedicated-server, Network, unreal-engine, CPP, question\
**Created:** [April 24, 2025, 10:40pm UTC](https://forums.unrealengine.com/t/cant-connect-to-listen-server/2474700 "2025-04-24T22:40:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swogers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swogers](https://forums.unrealengine.com/u/Swogers)\
**Post date:** [April 24, 2025, 10:40pm UTC](https://forums.unrealengine.com/t/cant-connect-to-listen-server/2474700/1 "2025-04-24T22:40:13Z")

</div>

I have a dedicated server build that opens an EOS session and runs this code:

 ![code](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/0/ed015077a90e89855d31ba85c42ba913ebc0dc50.png)  
The idea is, the session is created, the server preps the level, and the client searches for the level and joins it. But the client can’t connect. And heres what I tried:

- Adding -multihome parameter
- Adding/removing -port parameter
- Changing port from 7777 to 25565
- Opening both ports to UDP/TCP
- Adding both ports to the firewall, allow access all, UDP.
- Using public and local ip (only local ip works)
- Utilizing the server build rather than editor build
- Utilizing an entirely different computer to emulate a client/server environment (on same network AND different network)
- Swapping to use an Express.js server on the ports used (works perfectly fine and [YouGetSignal.com](http://YouGetSignal.com) can find the Express.js on the open port, but not the server build on the same port
- Skipping EOS session altogether and utilizing JUST the open cmd and client build
- Changing from Open Level bp node to Execute Console Command

Let me know if there is anything I haven’t tried. This is a screenshot of the server when its opening the level and preparing it to listen.

 ![Network](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/c/70cd31418e997bcd713570c79b3a0cf6ff69cb2f.png)

The client screenshot is what you expect; sent packets but no response. Strangely enough, When I use localhost:7777 or localhost:25565, I can connect to the server. But only IF the server is being run on the same machine

---

<div class="post-metadata">

**Author:** ![Swogers](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Swogers](https://forums.unrealengine.com/u/Swogers)\
**Post date:** [May 5, 2025, 4:47pm UTC](https://forums.unrealengine.com/t/cant-connect-to-listen-server/2474700/2 "2025-05-05T16:47:54Z")

</div>

I figured it out: I needed to have both TCP and UDP firewall allow access all.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 4, 2025, 4:48pm UTC](https://forums.unrealengine.com/t/cant-connect-to-listen-server/2474700/3 "2025-06-04T16:48:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
