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

HTTP listener in TrackerSample doesn't work / Can't use 0.0.0.0 to listen for HTTP requests #605

Open
ManlyMarco opened this issue Jan 24, 2023 · 1 comment

Comments

@ManlyMarco
Copy link

In latest master branch, System.Net.HttpListenerException: 'The request is not supported.' is thrown when trying to start the HTTP listener.
image

Cause: prometheus-net/prometheus-net#62

Changing this line https://github.com/alanmcgovern/monotorrent/blob/master/src/Samples/TrackerApp/Main.cs#L97 to TrackerListenerFactory.CreateHttp ("http://*:10000/announce/"), removing httpEndpoint above, and running the app as administrator finally makes it work.

@ManlyMarco ManlyMarco changed the title HTTP listener in TrackerSample doesn't work / Can't use 0.0.0.0 for to listen for HTTP requests HTTP listener in TrackerSample doesn't work / Can't use 0.0.0.0 to listen for HTTP requests Jan 24, 2023
@fgb1990
Copy link

fgb1990 commented Sep 5, 2023

thanks,it is normal operation

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

No branches or pull requests

2 participants