Can't connect to the server.

Hi!

I can’t connect to my server just if I connect from the same comp (so running 2 instances of the game). I tried to connect with local IP address (192.168.1.X) and with public IP, no results…So, I turned off my firewall but it is not the problem. I can’t find out why I can’t connect to the server from another comp which is connected to the same network as the server

Just a wild guess since you don’t tell us what errors you are seeing : http://unity3d.com/support/documentation/ScriptReference/Application-runInBackground.html

I’ve tried that, but still no solution. Tried another port, forwarded in router settings, and I can only connect from the same comp where the server is running. The console is not giving any error.

hi. I want to know how can I also connect from same computer.

I made simple scene to instantiate new player when he connects. I uploaded unity webplayer html and unity object on shared server. I use that webplayer as server and.exe/win standalone in same time on my pc as client. When I start server it works but when I want to connectas client it’s impossible. What I should type in IP adress and port? I used M2H tutorial 2B and 3rd tutorial.

Do I need something more than webplayer on shared server ???

Hello problemi,

I’ve launched a new video tutorial series that shows how to build a simple multiplayer game and the functionality you are mentioning I believe is covered in my videos 4 and 5, though the videos are very long so if you don’t have too much time then they might not be for you.

http://forum.unity3d.com/threads/122386-Gamer-To-Game-Developer-Multiplayer-Video-Tutorial-Series-on-YouTube

I just want simple answer to get idea about everything

i got the solution for myself, i dont know if it will work for you. so i had public variables that contained the IP address and the port, and i forgot to set them in the editor, and it always wanted to connect to 127.0.0.1:25001. so check out in your editor

what you typed, server ip?do you have something online. anyone has something online that I can see?

do I need to type ip of web server in unity editor??