Skip to content
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

Run on Port 80 with Web Server #124

Open
Kevin-Andrew opened this issue Jan 14, 2018 · 1 comment
Open

Run on Port 80 with Web Server #124

Kevin-Andrew opened this issue Jan 14, 2018 · 1 comment
Labels

Comments

@Kevin-Andrew
Copy link

I think you have a great project here, thanks for sharing. However, one of the key aspects of WebSockets is that they are "firewall friendly" because they use port 80 and 443. Correct me if I'm wrong, but with your class using a TcpListener at the lowest level, you won't be able to run this on port 80 if a web server is also already running on the same machine? Do you know of any workarounds for that?

@vtortola
Copy link
Owner

Thanks! Yes this is a though limitation. I do not know a way to hook into the same port that for example IIS uses.

HTTP.sys (IIS) since version 8 has this capability of switching between regular HTTP and WebSockets, but as far as I know ,there is no way to hook there. In .NET Core there may be a way, but probably using the buit-it websocket support is better idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants