# PVserver locally

**URL:** https://discourse.paraview.org/t/pvserver-locally/16794
**Category:** ParaView Support
**Created:** [June 11, 2025, 10:25am UTC](https://discourse.paraview.org/t/pvserver-locally/16794 "2025-06-11T10:25:55Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [June 11, 2025, 10:25am UTC](https://discourse.paraview.org/t/pvserver-locally/16794/1 "2025-06-11T10:25:55Z")

</div>

Hi,

I was trying to setup paraview with MPI locally running

```auto
mpirun -np 4 pvserver

```

but I got this error

```auto
( 0.503s) [pvserver] vtkSocket.cxx:202 ERR| vtkServerSocket (0x5572ec0904c0): Socket error in call to bind. Address already in use.
( 0.503s) [pvserver]vtkTCPNetworkAccessMana:453 ERR| vtkTCPNetworkAccessManager (0x5572ebd6b220): Failed to set up server socket.
Exiting...
Waiting for client...
Connection URL: cs://navier:11111
( 0.481s) [pvserver] vtkSocket.cxx:202 ERR| vtkServerSocket (0x55b0cf810160): Socket error in call to bind. Address already in use.
( 0.481s) [pvserver]vtkTCPNetworkAccessMana:453 ERR| vtkTCPNetworkAccessManager (0x55b0cf2bf220): Failed to set up server socket.
Exiting...
Waiting for client...
Connection URL: cs://navier:11111
( 0.514s) [pvserver] vtkSocket.cxx:202 ERR| vtkServerSocket (0x55d6a30d2a90): Socket error in call to bind. Address already in use.
( 0.514s) [pvserver]vtkTCPNetworkAccessMana:453 ERR| vtkTCPNetworkAccessManager (0x55d6a1ea5220): Failed to set up server socket.
Exiting...

```

Any idea on how to solve?

Best

---

<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: [June 11, 2025, 11:06am UTC](https://discourse.paraview.org/t/pvserver-locally/16794/2 "2025-06-11T11:06:04Z")

</div>

How did you install ParaView ?  
Is ParaView built with MPI ?  
Is a pvserver already running in the background ?

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [June 11, 2025, 12:43pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/3 "2025-06-11T12:43:25Z")

</div>

Hi @mwestphal

> Is ParaView built with MPI ?

I just downloaded paraview from  
[https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.13&type=binary&os=Linux&downloadFile=ParaView-5.13.2-MPI-Linux-Python3.10-x86\_64.tar.gz](https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.13&type=binary&os=Linux&downloadFile=ParaView-5.13.2-MPI-Linux-Python3.10-x86_64.tar.gz)

and then executing pvserver from its /bin folder

> Is a pvserver already running in the background ?

No, there’s no pvserver already running

Best

---

<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: [June 11, 2025, 1:03pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/4 "2025-06-11T13:03:00Z")

</div>

what is the output of `ps -ef | grep pvserver` ?

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [June 11, 2025, 1:22pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/5 "2025-06-11T13:22:33Z")

</div>

when running

```auto
pvserver

```

the output is:

```auto
user 1862220 1862117 0 15:16 pts/9 00:00:00 /scratch/user/Apps/ParaView-5.13.1-MPI-Linux-Python3.10-x86_64/bin/pvserver
user 1862221 1862220 10 15:16 pts/9 00:00:00 /scratch/user/Apps/ParaView-5.13.1-MPI-Linux-Python3.10-x86_64/bin/pvserver-real
user 1862310 1862265 0 15:16 pts/10 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv pvserver

```

---

<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: [June 11, 2025, 1:27pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/6 "2025-06-11T13:27:35Z")

</div>

So you are not running `pvserver` before starting `mpirun -np 4 pvserver` I suppose ?

Do you have services running on 11111 port ?

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [June 11, 2025, 1:30pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/7 "2025-06-11T13:30:25Z")

</div>

This is the output when I run

```auto
mpirun -np 4 pvserver

```

```auto
user 1864882 1854334 0 15:29 pts/7 00:00:00 mpirun -np 4 pvserver
user 1864884 1864883 19 15:29 ? 00:00:00 pvserver
user 1865037 1862265 0 15:29 pts/10 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv pvserver

```

> Do you have services running on 11111 port ?

How do I check that?

---

<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: [June 11, 2025, 1:31pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/8 "2025-06-11T13:31:13Z")

</div>

> [@Frankx9](#):
>
> `mpirun -np 4 pvserver`

Wait, what about `mpirun -np 4 ./bin/pvserver` ?

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [June 11, 2025, 1:39pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/9 "2025-06-11T13:39:43Z")

</div>

Isn’t it the same? I have aliased pvserver to ../bin/pvserver

Is it maybe because locally I have 1 GPU and paraview is trying to use 4?

---

<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: [June 11, 2025, 1:43pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/10 "2025-06-11T13:43:16Z")

</div>

> [@Frankx9](#):
>
> Isn’t it the same? I have aliased pvserver to ../bin/pvserver

Please make sure you are actually using the `pvserver` from `bin`, in this results we see:

```auto
user 1864882 1854334 0 15:29 pts/7 00:00:00 mpirun -np 4 pvserver
user 1864884 1864883 19 15:29 ? 00:00:00 pvserver
user 1865037 1862265 0 15:29 pts/10 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv pvserver

```

Which is not `/scratch/user/Apps/ParaView-5.13.1-MPI-Linux-Python3.10-x86_64/bin/pvserver-real` as expected.

---

<div class="post-metadata">

### Author: ![Frankx9](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/3e96dc/32.png) [@Frankx9](https://discourse.paraview.org/u/Frankx9)
#### Post date: [June 11, 2025, 1:50pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/11 "2025-06-11T13:50:55Z")

</div>

My bad… I do really apologize. It works, thanks a lot!

---

<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: [June 11, 2025, 1:51pm UTC](https://discourse.paraview.org/t/pvserver-locally/16794/12 "2025-06-11T13:51:23Z")

</div>

🙂
