# Option's not working on PortForwarding Tag

**URL:** https://discourse.paraview.org/t/options-not-working-on-portforwarding-tag/14011
**Category:** Development
**Created:** [February 24, 2024, 11:36pm UTC](https://discourse.paraview.org/t/options-not-working-on-portforwarding-tag/14011 "2024-02-24T23:36:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gpuligundla](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@gpuligundla](https://discourse.paraview.org/u/gpuligundla)
#### Post date: [February 24, 2024, 11:36pm UTC](https://discourse.paraview.org/t/options-not-working-on-portforwarding-tag/14011/1 "2024-02-24T23:36:57Z")

</div>

Hi, I’m trying to create a server.pvsc for my Client/Server Communication through Windows.  
However, I can’t set a custom port for local Port forwarding.

I’m using the below

```auto
<Option name="LOCAL_PORT" label="Client Port: ">
        <Range type="int" min="1" max="65535" step="1" default="11111" />
</Option>

<PortForwarding local="$LOCAL_PORT$"/>

```

When I try to connect to server, it always tries to connect to 11111 only even though I give random port

---

<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: [February 26, 2024, 1:18pm UTC](https://discourse.paraview.org/t/options-not-working-on-portforwarding-tag/14011/2 "2024-02-26T13:18:36Z")

</div>

Could you share your .pvsc file ?

Here is the doc if that is helpful: [7. Remote and parallel visualization — ParaView Documentation 5.11.0 documentation](https://docs.paraview.org/en/latest/ReferenceManual/parallelDataVisualization.html#case-sixteen-secured-connection-to-a-server-trough-ssh-tunnel)

---

<div class="post-metadata">

### Author: ![gpuligundla](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@gpuligundla](https://discourse.paraview.org/u/gpuligundla)
#### Post date: [February 26, 2024, 1:48pm UTC](https://discourse.paraview.org/t/options-not-working-on-portforwarding-tag/14011/3 "2024-02-26T13:48:01Z")

</div>

[q\_server.pvsc](https://discourse.paraview.org/uploads/short-url/mecUXYWwBYv2bXd15GO9IwJR1vB.pvsc) (1.1 KB)

---

<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: [February 26, 2024, 3:28pm UTC](https://discourse.paraview.org/t/options-not-working-on-portforwarding-tag/14011/4 "2024-02-26T15:28:27Z")

</div>

Usually the tunneling port is set and not changeable by the user, and also is way below 11111. Try using the example from the doc first before adding options.
