# PlexConnect.py not working

**URL:** <https://forums.plex.tv/t/plexconnect-py-not-working/81913>\
**Category:** Apps & Creations\
**Created:** [November 4, 2014, 11:34am UTC](https://forums.plex.tv/t/plexconnect-py-not-working/81913 "2014-11-04T11:34:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenderrock](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fenderrock](https://forums.plex.tv/u/fenderrock)\
**Post date:** [November 4, 2014, 11:34am UTC](https://forums.plex.tv/t/plexconnect-py-not-working/81913/1 "2014-11-04T11:34:45Z")

</div>

Hi guys

&nbsp;

I have tried running plexconnect.py through Python and it just shuts down immediately. I then tried running it through a CMD running as administrator and this happens. I have checked the folder and all the permissions are set to admin read and write.&nbsp;

&nbsp;

Any ideas?&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moussa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/moussa/32/314364_2.png) [@Moussa](https://forums.plex.tv/u/Moussa)\
**Post date:** [November 4, 2014, 1:21pm UTC](https://forums.plex.tv/t/plexconnect-py-not-working/81913/2 "2014-11-04T13:21:17Z")

</div>

I don't have experience with PlexConnect but generally you run Python programs like:

```
python PlexConnect.py
```

or if you don't have python.exe in the system enivronment:

```
/path/to/python.exe PlexConnect.py
```

---

<div class="post-metadata">

**Author:** ![fenderrock](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fenderrock](https://forums.plex.tv/u/fenderrock)\
**Post date:** [November 4, 2014, 2:28pm UTC](https://forums.plex.tv/t/plexconnect-py-not-working/81913/3 "2014-11-04T14:28:56Z")

</div>

tried both of those, and the original method of just plexconnct.py and these are the results.

Just to confirm:

I have fixed the ip address in my router

I have installed the certificates into the plex connect folder

When I first did this a while ago I got it all working great, but for some reason the default program for my .py files have changed from python to CMD prompt, and since then I can't run the scripts in CMD and I can't seem to change the default back to Python despite going through control panel, and reinstalling python

---

<div class="post-metadata">

**Author:** ![fenderrock](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fenderrock](https://forums.plex.tv/u/fenderrock)\
**Post date:** [November 4, 2014, 3:17pm UTC](https://forums.plex.tv/t/plexconnect-py-not-working/81913/4 "2014-11-04T15:17:21Z")

</div>

I removed everything and started from the beginning and it is working fine now

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 3:28am UTC](https://forums.plex.tv/t/plexconnect-py-not-working/81913/5 "2019-12-21T03:28:09Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
