Skip to content

WebSocket and plain HTTP using the same port #1

@jclgoodwin

Description

@jclgoodwin

However, I’m hosting the bot on Heroku. Heroku only allows each dyno to have one port open—in the case of the bot, I need it for web socket connections, and thus can’t open a second port for just plain web connections.

It should be possible to use WebSocket and plain HTTP over the same port. Although perhaps not using the ws Node module -- it's definitely possible with Socket.IO...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions