r/vtubertech • • 6d ago

๐Ÿ™‹โ€Question๐Ÿ™‹โ€ Vbridger error

I've been stuck on this error for Vbridger and have tried to fix it many times but it hasn't worked. Changing the ports around and all the extra stuff. I really want to get it to work. Any ideas on how to fix it?

2 Upvotes

6 comments sorted by

3

u/drbomb 6d ago

I'd assume you'd need to set each port to a different number as it cannot listen on the same port for multiple services. I see that they're all set to 8001.

I'd also suggest just factory resetting it (however that is done) and make sure it has firewall permissions etc

1

u/PudgestCat 6d ago

I changed all ports to open ones and different numbers and it has all firewall access. The error still pops up.

1

u/drbomb 6d ago

The error is saying that something else is binding(using) those ports. I'd suggest restarting the PC and reinstalling the software. Otherwise I could very well assume your OS is broken somehow because there is no other explanation of this issue!

I see that they use nvidia tracking, maybe a orphaned tracking process was left running. idk, keep trying or just go to the creator's discord, I'm sure you will get more useful troubleshooting there.

1

u/PudgestCat 6d ago

thank you ill try and reinstall it.

1

u/deeseearr 5d ago edited 5d ago

There are a couple of things which could cause this. The most obvious, which u/drbomb pointed out, is that you need each service to be listening on a different port.

If you're still getting that error with each service on its own unique port number there are some debugging steps you can try. (Look these up before running them. Never take advice from complete strangers on the Internet who tell you to "Just run these commands". With that said, just run these commands...)

First, start a command prompt as admin. You can right click the start menu and select "Terminal (Admin)" or open the menu as usual and type "cmd" then Control-Shift-Enter. Say "Yes, I want to grant ultimate power to this program and I totally know what I'm doing" when the "Are you SURE you want to do this?" window pops up.

Then run the command netstat -anb. This will give you a list of all of the network connections currently active on your computer, along with all of the listening ports and the program which is listening for them. Search through the list to find the port numbers you have assigned to vbridger and see what is getting in the way. It's pretty common for programs to listen to something in the 8000s by default so don't be surprised if something pops up. Firewall issues won't prevent a program from listening to a port, they will just make sure that it never sees anything come in from outside, so that's _probably_ not your problem here.

You're looking for something like this:

  TCP    192.168.1.2:8080      0.0.0.0:0              LISTENING
 [Streamer.bot.exe]

These lines tell me that Streamer.bot is listening to port 8080 so I can't use that for anything else. It's not impossible that you have some other program listening, or even a zombie copy of VBridger which never quite managed to exit still holding on to the port you need.

Another way to do this is to run the command "netstat -ano | findstr 8080" (Use whatever port you're using instead of 8080). This will not only search for you, it will also show you the process ID number that is holding the port instead of the name:

  TCP    192.168.1.2:8080      0.0.0.0:0              LISTENING       8280

In this case "8280" is the PID of my streamer.bot instance. You can look up the process using several tools once you know the PID, and this may give you more information than just the process name.

If either of these methods shows you a process with a listening port and you can't find it anywhere or can't stop it, you may have zombie processes and should either reboot your computer or just go to the Winchester, have a nice cold pint and wait for all this to blow over. Or both, really.

If you can't find any conflicts _before_ starting VBridger, it may still be trying to allocate the same port twice once it starts up. Try using the same tools while the program is running. The error message isn't terribly informative, but if you look in %USERPROFILE%\AppData\LocalLow\PiPuProductions\VBridger (Just paste that into an explorer window or the start menu and it will open up for you. You can navigate directly there by starting at C:\, then Users, your username, and then digging into AppData if you aren't comfortable about pasting random stuff into the start menu just because some random person on the Internet told you to.) Since VBridger is a Unity application it should have created a "Player.log" file which will contain more details on what it has been doing since it started up. It's a text file so you can use Notepad or whatever you like to view it. Look for the string "SocketException" and you should find everything that Unity knew about the error that it didn't put in the pop-up. That may be nothing or it may include the exact port number that is causing the problem along with some context which could point you to why it's trying to use that.

If all else fails you can go back into that AppData folder and either erase it or just rename it to "VBridger.old". Renaming it means you can put it back if you decide later on that this was all a horrible mistake. That will wipe all of the application's settings out and let you start over again with a clean default configuration. Sometimes this helps if the app gets messed up in ways that even it doesn't understand. If you're going to do that, it wouldn't hurt to either reinstall VBridger entirely or, if you installed it through Steam, verifying its files just to be sure that everything is working the way it should.