Forum C# development server on mac

development server on mac

Postby vitsum » October 29th, 2012, 10:09 am

Can I run development server on mac?
Do I need some virtual machine with windows for that?
Will be I able to run development server in this virtual machine, and connect clients running in mac?
vitsum
 
Posts: 26
Joined: October 26th, 2012, 8:14 am

Re: development server on mac

Postby dreamora » October 29th, 2012, 10:18 am

no works perfectly fine with a proper current mono installation and monodevelop
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am

Re: development server on mac

Postby vitsum » October 29th, 2012, 12:35 pm

I tried, the server looks like it's running. but I can't connect to it. "Access denied".
like in this threads:
post43602?hilit=access%20denied#p43602
post43453?hilit=access%20denied#p43453
post37701?hilit=access%20denied#p37701

Code: Select all
user-Mac-mini:~ user$ lsof -i|grep :8184
mono      84140 vitalysumin    4u  IPv4 0xffffff800df0fde0      0t0  TCP *:8184 (LISTEN)
mono      84140 vitalysumin    6u  IPv6 0xffffff800bd16d80      0t0  TCP *:8184 (LISTEN)


So sad =(
vitsum
 
Posts: 26
Joined: October 26th, 2012, 8:14 am

Re: development server on mac

Postby dreamora » October 29th, 2012, 2:44 pm

these access denied are all a matter of setting up port forwarding and potentially setting up firewalls (I have little snitch which required that I configure it)

I have it working here for ergular access, didn't care about the policy servers as I don't use and require them I fear. But given that 8184 addition, tcp on the router with portforwarding to my machine worked, the rest will for sure work too

that you properly listen to the port has 0 relevance to the router, either you configure it properly or it won't work.
also if you use a proxy or use 3G / 4G connections, the chance for it to work is close to 0 just in case, cause the dev server does not connect on tcp 8184 to the player.io cluster to establish the connection first to reduce the nat related issues (there is no nat for tcp basically. either its a connection from inside out or a port forwarding or it will not connect at all)
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am

Re: development server on mac

Postby Benjaminsen » October 29th, 2012, 2:48 pm

vitsum wrote:I tried, the server looks like it's running. but I can't connect to it. "Access denied".
like in this threads:
post43602?hilit=access%20denied#p43602
post43453?hilit=access%20denied#p43453
post37701?hilit=access%20denied#p37701

Code: Select all
user-Mac-mini:~ user$ lsof -i|grep :8184
mono      84140 vitalysumin    4u  IPv4 0xffffff800df0fde0      0t0  TCP *:8184 (LISTEN)
mono      84140 vitalysumin    6u  IPv6 0xffffff800bd16d80      0t0  TCP *:8184 (LISTEN)


So sad =(


We are aware of this issue, looks like Mono sometimes does not correctly close listeners.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: development server on mac

Postby vitsum » October 30th, 2012, 4:48 am

I don't know how does your server work...
Can I test my multiplayer in isolated environment (So I can't reach admin panel. may be local network. or a single PC without network). so admin panel will not know anything about the development server...

Probably it's necessary that my dev. server should be reachable from outside. But my PC is behind routers and all that stuff... And I can't change settings on those routers.

I thought that dev.server only should be reachable for client application o_O but it looks like client tries to reach your server first, and your server cannot get access to the port of my dev.server...

my guess is wrong? :D
vitsum
 
Posts: 26
Joined: October 26th, 2012, 8:14 am

Re: development server on mac

Postby Benjaminsen » October 30th, 2012, 10:43 am

vitsum wrote:I don't know how does your server work...
Can I test my multiplayer in isolated environment (So I can't reach admin panel. may be local network. or a single PC without network). so admin panel will not know anything about the development server...

Probably it's necessary that my dev. server should be reachable from outside. But my PC is behind routers and all that stuff... And I can't change settings on those routers.

I thought that dev.server only should be reachable for client application o_O but it looks like client tries to reach your server first, and your server cannot get access to the port of my dev.server...

my guess is wrong? :D


You will need an active internet connection to be able to use Player.IO as the multiplayer server uses the Player.IO web-service cluster to handle rooms etc.

Our servers will try to connect to your development server to collet stats, allow it to be used as a development cluster in your game and much more. While these features require port forwarding and are nice, the sever can still be used for local development if forwarding is not satup.

Set in another way, you don't need to setup port forwarding to develop games with Player.IO
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to C#



cron