PyCharm 2019.2 - SciView uses the same port on remote server for every user
I use PyCharm to run my local code on a remote machine. In debug mode, when I try to plot something with `matplotlib`, I do not get the plot. However, a colleague of mine with the same version of PyCharm gets my plot. Basically, the person that connects first to the server gets the port used by SciView to send the plot back from the server. This person, who got the port, will then receive the plots of all the other users connected to the same server.
According to the PyCharm Log file, this is port 63342:
2019-08-13 18:42:28,079 [ 57770] INFO - plots.PySciEnvironmentProvider - Plots on port: 63342
In older PyCharm versions (e.g., 2019.1.1) this port was randomly selected, while now it seems hardcoded.
Is there a way to change the port?
Thanks.
Please sign in to leave a comment.
Answered in another support request:
That's really strange. I was able to reproduce the issue. Here is a bug in our tracker https://youtrack.jetbrains.com/issue/PY-37477, feel free to vote and leave comments.
I will check with our developer, but it's likely to be related to another known issue https://youtrack.jetbrains.com/issue/PY-37182