SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X)

Thread Tools Search this Thread
Old 03-21-2014   #1
sonicfreak94's Avatar
Default Cannot connect to server on same computer with localhost

Normally, one would be able to host a dedicated server, for example, and connect to it directly by changing the local port of the client (with -clientport or whatever else works). However, connecting with localhost or doesn't appear to work. Using my local network address on the other hand, does.

Last edited by Monster Iestyn; 03-23-2019 at 03:53 PM.
sonicfreak94 is offline  
Old 03-21-2014   #2
Cosmophile on IRC/Discord
Shardvexz's Avatar

As was said on the #srb2fun IRC channel:

<Shardvex> I can't seem to join my dedicated server with
<Shardvex> "-clientport 5030 -connect"
<furyhunter> that's never worked shardvex
<furyhunter> lol
<furyhunter> it didn't work when I was initially trying to fix the netcode
<furyhunter> no idea why it doesn't
<Shardvex> ...So how do I join my dedicated server?
<Inuyasha> use your LAN IP
<Inuyasha> 192.168.whatever.whatever
For noobs, to get your LAN IP (Local IP):

1. Go to the start menu, search for "Run"
2. Type CMD
3. Press enter
4. Type ipconfig (in the new black dos box)
5. Press enter
6. Its the line that says IP address after you have pressed enter in the black box.

So the new command would be something like: "-clientport 5030 -connect [your LAN IP here]"
EDIT: I tested this, and it works.

SF94, I happen to know that you are working on your launcher. :) I found a way to get the LAN IP in C#, so that my launcher can join dedicated servers. You can probably figure this out yourself, but if you need help just ask.

And a note to the SRB2 developers:
Are you planning to fix this?
I want a signature that is huge, animated, distracting, and obnoxious that draws attention to me.

Last edited by Shardvexz; 03-21-2014 at 08:46 PM.
Shardvexz is offline  
Old 03-21-2014   #3
sonicfreak94's Avatar

Thanks for the offer =P

And to clarify, this is something that most certainly worked in 2.0; I've used it many times.
sonicfreak94 is offline  
Old 03-21-2019   #4
Steel Titanium
Steel Titanium's Avatar

The bug was recently fixed here.
Insert signature here
Steel Titanium is offline  
Old 03-23-2019   #5
Monster Iestyn
Friendly Neighbour-Hood
Monster Iestyn's Avatar

The above MR has been accepted, which means localhost and should work in future patches or releases of SRB2.
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline  
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:47 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.