timonwong / OmniMarkupPreviewer

Sublime Text 2&3 plugin to live preview markup files, supported (not limited to) markup formats are markdown, reStructuredText, WikiCreole and textile.
MIT License
500 stars 74 forks source link

Occupied port when running two versions of plugin on separate instances of Sublime. #60

Open arxpoetica opened 9 years ago

arxpoetica commented 9 years ago

I was having the same issue reported in #50 (buffer_id([#]) is not valid (closed or unsupported file format)) and hunted down a probable cause of the problem. If you're running two versions of Sublime (Sublime 2 and Sublime 3) and you have the plugin running in both instances at the same time, OmniMarkupPreviewer will try to connect to a websocket on the the same port (51004). It's a rare case—but reporting so you know.