# pvpython client fails to connect to the server

**URL:** https://discourse.paraview.org/t/pvpython-client-fails-to-connect-to-the-server/8202
**Category:** ParaView Support
**Tags:** python
**Created:** [October 16, 2021, 9:08am UTC](https://discourse.paraview.org/t/pvpython-client-fails-to-connect-to-the-server/8202 "2021-10-16T09:08:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![massisenergy](https://discourse.paraview.org/user_avatar/discourse.paraview.org/massisenergy/32/6229_2.png) [@massisenergy](https://discourse.paraview.org/u/massisenergy)
#### Post date: [October 16, 2021, 9:08am UTC](https://discourse.paraview.org/t/pvpython-client-fails-to-connect-to-the-server/8202/1 "2021-10-16T09:08:44Z")

</div>

It would be greatly helpful, for automating purposes, to add flags when launching `pvpython` from the shell. For example, I want to launch `pvpython` in shell which automatically connects to a host, such as in Paraview GUI – going through `File` \> `Connect...` and clicking on the designated server. Is there something like:

This works

```auto
$ paraview -url=cs://localhost:3333

```

I know this works, because on the server side shell, it says ‘client connected’. But with `pvpython`, it does not:

```auto
pvpython -url=cs://localhost:3333

```

What might be the problem?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 18, 2021, 9:18am UTC](https://discourse.paraview.org/t/pvpython-client-fails-to-connect-to-the-server/8202/2 "2021-10-18T09:18:25Z")

</div>

There is an option but it seems non fonctionnal.

FYI @utkarsh.ayachit
