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

error : "node.js-only method" when create server for localhost #996

Closed
EdwinLuKiet opened this issue Dec 13, 2016 · 2 comments
Closed

error : "node.js-only method" when create server for localhost #996

EdwinLuKiet opened this issue Dec 13, 2016 · 2 comments

Comments

@EdwinLuKiet
Copy link

@EdwinLuKiet EdwinLuKiet commented Dec 13, 2016

I am quite newbie on this area. Just a quick question : is it possible to run this API: "torrent.createServer([opts])" on Chrome without nothing to do with Node.js ?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 13, 2016

There's no way to create an HTTP server within the browser. The only way would be to do it within Electron.

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.