rejetto forum

how to open 2 hfs program in 2 lan cards

sameer · 9 · 8170

0 Members and 1 Guest are viewing this topic.

Offline sameer

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
hello
i have computer inn my network  its work in 2 defernt host
like 1- acoounting  2- users
and i have 2 lan card
i want to start 2 hfs in this 2 lan card and all of my users CAN SEE ONLY HFS FOR THEM



SOREE ABUT MY ENGLISH

thanx to all


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
if you want to keep your 2 hfs separated, ok, ensure you are in "expert mode"
then you got to disable: menu -> start/exit -> only 1 instance

then you can start 2 instances, and use the "accept connections on" to bind them to different networks.


Offline sameer

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
thanx to u but sorry
i want to start 2 hfs program in 2 lan

if that can be
thanx im wating ur replay


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline sameer

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
ok thanx its workng
i must chang the port
and do anther copy of hfs
thanx


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
ah, yes, you must change the port :)
about the "other copy", it's the easier solution. but remember to do "save options -> to file".


Offline Wasserfloh

  • Occasional poster
  • *
    • Posts: 81
    • View Profile
ah, yes, you must change the port :)
Not when both servers bind to different IPs.
« Last Edit: November 05, 2008, 06:02:48 PM by Wasserfloh »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile

Offline MarkV

  • Tireless poster
  • ****
    • Posts: 764
    • View Profile
Most people confuse the words port and socket.

A socket can only occupied by one program at a time. A socket is the combination of IP and port, e.g. 192.168.0.1:80 is a socket.
A port can either be used on all IPs by one program (e.g. bind to 0.0.0.0:80), or up to the number of IP times by using bindings (see socket).

You can set additional IPs for your PC even if you only have one NIC.
http://worldipv6launch.org - The world is different now.