Forum General Mac client and PC server

Any issues or discussions relating to Unity development are welcome here.

Mac client and PC server

Postby deadbug » November 4th, 2011, 6:56 pm

Hello,

We have 1 pc computer and 1 mac computer and the latest version of Unity3d.

We are trying to run a server on the PC and the client on a Mac.
Using the mushroom sample, it works when both the client and server are on the pc but not when we move the client to the mac.

Tried changing "localhost" to the server's ip address and vice versa but we still get connection problems such as timeout, connection refused and something about family.

The ultimate goal is to create builds on the mac and keep the server on the pc.

Is there any tips or tricks for this problem?

Thank you.
deadbug
 
Posts: 35
Joined: November 1st, 2011, 1:35 am

Re: Mac client and PC server

Postby Oliver » November 7th, 2011, 3:49 pm

check the firewall in the pc.

try telnetting "telnet pc-ip-address 8184" from the mac to the pc. If you can connect type a few letters and press enter. If you get some xml garbage back (a crossdomain file), the client should be able to connect to the server. Otherwise, you'll have to do some troubleshooting to get it all running.

Let me know how it works

- Oliver
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am

Re: Mac client and PC server

Postby deadbug » November 11th, 2011, 11:52 pm

Is there a certain way to Telnet using the PlayerIO methods?

Right now I have this and I tried adding "telnet" before the ip and that didnt work
client.Multiplayer.DevelopmentServer = new ServerEndpoint("xxx.xx.xxx.xxx" ,8184);

Then I tried something like this that I found online.
client.multiplayer.DevelopmentServer = "telnet xxx.xx.xxx.xxx:8184";

So I just get errors saying it cant find a host like that becuase of the word telnet in it.

I tried taking off the firewall but that didnt do anything.

Thank you for help.
deadbug
 
Posts: 35
Joined: November 1st, 2011, 1:35 am


Return to General



cron