New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reuse HTTP port for WebSocket #272
Labels
Comments
cc @subnut if you want to pick this up |
This was referenced Mar 19, 2023
fregante
added a commit
to GhostText/GhostText-for-SublimeText
that referenced
this issue
Mar 24, 2023
but [Errno 48] Address already in use For fregante/GhostText#272
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Findings:
Changes suggested:
{ProtocolVersion: 1, WebSocketPort: 4001}
(the port is still user-configurable)This change is backwards-compatible in editor extensions, it can already be seen in the new VS Code extension: https://github.com/fregante/GhostText-for-VSCode/blob/17a6d24f066aef98c2561b8690592c08e5c8c6ff/source/extension.ts#L120-L122
I think the ACME plugin has also been doing this for years: https://github.com/fhs/Ghost/blob/aaff3cd0ec26f69a7f6bc59e8a419fafa5d7aa6d/main.go#L80
The text was updated successfully, but these errors were encountered: