Force server to connect to DB via specific NIC?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

ckhoo6373
Posts: 13
Joined: 06 Mar 2009, 23:49

Force server to connect to DB via specific NIC?

Postby ckhoo6373 » 31 May 2009, 16:53

Hi.

I'm looking to set-up a Smartfox server with two NIC cards. I intend to dedicate one NIC for client connections, and have the second NIC be dedicated to the DB connection. How do I do this?

Thanks.

Chris.
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 01 Jun 2009, 05:38

You can bind the server to your preferred IP address, hence using the NIC card you prefere, but I don't think there is a way to tell the server which of the two cards to use when acting as a client towards the database.

The problem is that this happens at a "lower layer" in the operating system.
Example: I have 3 cards in my laptop (wireless, cable and virtual nic) but I can't decide that the browser uses the cable, the IM uses wireless etc...

Sorry
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 44 guests