Author Topic: Change the server IP the player connects to when they press "join server"?  (Read 1713 times)

Hey,

I seem to be having trouble with my server. Is there a way to set what IP the player connects to when they try to join your server? You see, Blockland crashes on my Mac when I try to host. So I am trying a "virtual PC", aka, running windows on Mac. I've got the server to run, but the thing is, the windows virtual machine has a different IP that my mac. When i try to host a server from the virtual machine, and a player tries to join, the player's blockland tries to connect to the macs IP instead of the virtual PC's IP. Thus, not connecting. Is there a way I can change what IP players connect to when they select my server? That way I could set the IP to the windows virtual machine's IP, so it will stop trying to connect to the macs IP and correctly connect to the virtual PC's IP.

Port forward to the VM's IP, not your Mac's.

Port forward to the VM's IP, not your Mac's.
uhhh,

I am going directly to the modem, so I don't need to port forward the router. I probably don't get what you're saying. :/ EDIT: Maybe you could explain what you mean a little more?
« Last Edit: April 02, 2011, 03:51:34 PM by Reinforcements »

Your virtual machine should have its own IP, apparently.

Port forward to that IP. Not your own.

Your virtual machine should have its own IP, apparently.

Port forward to that IP. Not your own.
._.

Chrono already said that, and I said...
uhhh,

I am going directly to the modem, so I don't need to port forward the router. I probably don't get what you're saying. :/ EDIT: Maybe you could explain what you mean a little more?

That's the part I did. I explained what he said a little more.

That's the part I did. I explained what he said a little more.
You mean, "allow windows to send/receive data through that port"? Like. in the security options? I have the firewall off, so it shouldn't matter right?

Check the VM's network settings. Depending on what program you use there may be an option to share the same IP.

Check the VM's network settings. Depending on what program you use there may be an option to share the same IP.
An excellent idea! I'll check now...Prepare for edit...

EDIT:Gah, here are my settings, it was set to the top one, and I changed it to what it is now. The VM will not connect to the internet. As you can see in the 2nd picture, its having trouble with the IP. By the way Headcrab, do you use VM's?
« Last Edit: April 02, 2011, 07:56:12 PM by Reinforcements »

Oh. It bridges.

Been a long time since I've dealt with bridged connections. Sorry.

Edit: Why not change it to the top option?

You'd think it would work if you did the top option... After all, you're talking about a change in IP and you want that to stop happening or something, so just share the connection..?

Well, that's the thing, it was the top option when I was having problems... :cookieMonster:

I'm trying to get a virtual machine to work, so Off topic: Do you use Bootcamp? If not, VMWare fusion?

having done this kinda thing before.. here is what you need to do:

1) Set your VM to bridged mode.  This will give it an address on your network.
  Make sure this works before going any further.  to test, you should be able to see your windows VM from a different PC on your home network.  Your windows VM should also be able to access the internet.  Check with the help and forums for your vm software if you have problems.

2) set your windows VM to a static IP address
3) port forward to this static IP address
4) host & enjoy

These steps work for me with vmware and various flavors of windows.  Getting briged mode to work is the biggest step.  once you get that, the rest is easy.

I'm trying to get a virtual machine to work, so Off topic: Do you use Bootcamp? If not, VMWare fusion?
VMWare, and why do you ned virtual PC? :0
having done this kinda thing before.. here is what you need to do:

1) Set your VM to bridged mode.  This will give it an address on your network.
  Make sure this works before going any further.  to test, you should be able to see your windows VM from a different PC on your home network.  Your windows VM should also be able to access the internet.  Check with the help and forums for your vm software if you have problems.

2) set your windows VM to a static IP address
3) port forward to this static IP address
4) host & enjoy

These steps work for me with vmware and various flavors of windows.  Getting briged mode to work is the biggest step.  once you get that, the rest is easy.

People keep saying to "port forward". I'm not using a router, so there is no need right?