# How to check if Client is Listen Server?

**URL:** <https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, unreal-engine, question\
**Created:** [November 18, 2016, 1:47am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681 "2016-11-18T01:47:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monsieur\_Redmoth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monsieur\_Redmoth](https://forums.unrealengine.com/u/Monsieur_Redmoth)\
**Post date:** [November 18, 2016, 1:47am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/1 "2016-11-18T01:47:00Z")

</div>

Hi. Is there a way of knowing if a client is a listen server, just as Switch Has Authority checks authority?

For example, A node like Switch Has Authority but with outputs: Listen or Remote?

---

<div class="post-metadata">

**Author:** ![Distul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Distul](https://forums.unrealengine.com/u/Distul)\
**Post date:** [November 18, 2016, 4:52am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/2 "2016-11-18T04:52:04Z")

</div>

Use IsServer node.

---

<div class="post-metadata">

**Author:** ![Monsieur\_Redmoth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monsieur\_Redmoth](https://forums.unrealengine.com/u/Monsieur_Redmoth)\
**Post date:** [November 18, 2016, 4:53am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/3 "2016-11-18T04:53:59Z")

</div>

Have not tested But marking as Answered as this should work :)! Thank you!

---

<div class="post-metadata">

**Author:** ![Monsieur\_Redmoth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Monsieur\_Redmoth](https://forums.unrealengine.com/u/Monsieur_Redmoth)\
**Post date:** [November 18, 2016, 4:54am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/4 "2016-11-18T04:54:44Z")

</div>

Answered by Distul! See above Post! Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Yata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yata](https://forums.unrealengine.com/u/Yata)\
**Post date:** [March 13, 2017, 11:34am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/5 "2017-03-13T11:34:25Z")

</div>

IsServer is indicating that game is not Client, so IsServer would be true even for Standalone game.

---

<div class="post-metadata">

**Author:** ![StuntThumper88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StuntThumper88](https://forums.unrealengine.com/u/StuntThumper88)\
**Post date:** [September 9, 2018, 12:16am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/6 "2018-09-09T00:16:08Z")

</div>

This is what I’m using. If you never have dedicated servers, you could just check if server

![253140-checkiflistenserver.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/0/d8082b6c302a27549d505f8b8d837847a91c0d05.png)

---

<div class="post-metadata">

**Author:** ![Neongho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Post date:** [November 29, 2021, 6:52am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/7 "2021-11-29T06:52:34Z")

</div>

Is locally controller node, then if is run from a pawn that is server will return true if not false.

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [April 15, 2024, 10:39pm UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/8 "2024-04-15T22:39:59Z")

</div>

Great answer.  
i could not find those nodes in cpp. and IsServer is deprecated but no notice of what to use instead.  
i’ve been using IsNetMode(NM\_Client) there’s also NM\_Standalone and NM\_Server

---

<div class="post-metadata">

**Author:** ![Yihan\_Tarnis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Yihan\_Tarnis](https://forums.unrealengine.com/u/Yihan_Tarnis)\
**Post date:** [January 18, 2025, 6:28am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/9 "2025-01-18T06:28:01Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/8/d58d028d7bc5d297b82e82784f3cde47bb003ba9.png)

---

<div class="post-metadata">

**Author:** ![Hero\_Tales](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hero\_Tales](https://forums.unrealengine.com/u/Hero_Tales)\
**Post date:** [June 25, 2025, 1:57am UTC](https://forums.unrealengine.com/t/how-to-check-if-client-is-listen-server/376681/10 "2025-06-25T01:57:06Z")

</div>

thanks this is a good setup
