# Check if the execution of a paraview script is in local or client/server mode?

**URL:** https://discourse.paraview.org/t/check-if-the-execution-of-a-paraview-script-is-in-local-or-client-server-mode/9376
**Category:** ParaView Support
**Tags:** python
**Created:** [April 6, 2022, 3:27pm UTC](https://discourse.paraview.org/t/check-if-the-execution-of-a-paraview-script-is-in-local-or-client-server-mode/9376 "2022-04-06T15:27:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gv871](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@gv871](https://discourse.paraview.org/u/gv871)
#### Post date: [April 6, 2022, 3:27pm UTC](https://discourse.paraview.org/t/check-if-the-execution-of-a-paraview-script-is-in-local-or-client-server-mode/9376/1 "2022-04-06T15:27:15Z")

</div>

Hello every one,

is there a way to check, via python command, if we are connected to a remote server?  
Basically, the same thing that we can see in Help-\>About-\> Connection Information.  
Thank you, for every information you can give me.

---

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [April 7, 2022, 6:39am UTC](https://discourse.paraview.org/t/check-if-the-execution-of-a-paraview-script-is-in-local-or-client-server-mode/9376/2 "2022-04-07T06:39:41Z")

</div>

try this:  
servermanager.ActiveConnection.IsRemote()
