Hello,
I wanted to know how to make the OpenBullet API works on another port instead of 5000.
Does anyone know ?
I’ve tried dotnet ./OpenBulletAPI.dll --urls “http://*:[CUSTOM_PORT]” but still wants the 5000
Hello,
I wanted to know how to make the OpenBullet API works on another port instead of 5000.
Does anyone know ?
I’ve tried dotnet ./OpenBulletAPI.dll --urls “http://*:[CUSTOM_PORT]” but still wants the 5000
Maybe it works if you configure it through appsettings.json
Thanks a lot for your quick response. I really appreciate.
What would be the line to add in your opinion @Ruri ?
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Urls": "http://localhost:8501"
}
Here is how I’ve added it. However, it keeps saying : “Now listening on: http://0.0.0.0:5000”
Sorry I meant http://*:8501
not localhost. Anyways I cannot give more support for this as OB1 is obsolete and everything related to it will receive no more support from me, sorry.
Facing similar issues, says I localhost:5000 is already in use. How do I go about it and I have already tried the solution above still not working. (Ob2)
Hello @jeu.console.49 @Nortaclus
I did not understand everything but if you want to change your port it takes less than 1 minute
If you have problems with port 5000 go to your Openbullet 2 folder then to the json file called “appsettings.Release.json” once you are inside it looks like this :
In the case above we wanted to put 8501 as the port so we’ll do it like this
Then afterwards we save the file CTRL + S and start Openbullet 2
Now let’s try in the browser :
As you can see it works very well let’s try with port 5000
hoping to have answered your questions
WannaCry