-
Notifications
You must be signed in to change notification settings - Fork 27
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
Can't connect over LAN #11
Comments
The library is hardcoded to work on localhost. You can fix it by cloning it and adding a string _Host field that is gonna take your http://ip:port/, around line 80 (gamestatelistener.cs) and replacing the argument for _Listener.Prefixes.Add(_Host) in the start function. The listener created in the constructor does nothing since it's replaced by a new one whenever you run start(). Hope this helps. |
I dont think just add it will work, since httplistener apparently cant recognize the format like this |
Hi!
I'm developing an application where i have to send the same data to 2 diffrent http servers.
My issue is that i can get data when i'm using 127.0.0.1 or localhost, but when i moce the csgo spectator client to another computer, i can't get any data (Have tried running it as an administrator)
I used the sample JS and node to test external connection, and that worked fine.
So from Node; Local and remote works
From C#: Local works but not remote
Have allso tried diffrent ports and turning firewall off (This shouldn't be an issue as the node sample from valve is working)
I'm a misisng something here?
Thanks
The text was updated successfully, but these errors were encountered: