rejetto forum

how to put HFS on 2 PC's behind one router

dane · 4 · 3830

0 Members and 1 Guest are viewing this topic.

Offline dane

  • Occasional poster
  • *
    • Posts: 6
    • View Profile

If I have HFS running on one PC, is there a way to have it on a second PC that is on the same IP address?
In other words. Can I have HFS running on two machines behind one IP address?
« Last Edit: June 22, 2008, 01:18:41 AM by dane »

Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
you can have the same IP, but you must use different ports, the same if you run more than one instance of hfs on one PC.
your computer has no brain - use your own !

Offline dane

  • Occasional poster
  • *
    • Posts: 6
    • View Profile
Yes thank you.  But...
I guess the question should have been: How do you configure two HFS behind one IP address using different DynDNS host names?
I have my second HFS on a second PC with a different port selected.
I have both machines set up with a different static IP address.
In my router I have each PC's HFS port forwarded to that PC's static IP address.
I have a second host name set up with DynDNS.
I have the apropriate host name selected in the DynDNS Updater configuration on each PC.
An HFS self test on the second PC shows successful.
Connecting to it from an outside source using the numerical IP address in the HFS address bar also works fine.
But when the second host name set up at DynDNS is used from an outside source, it takes you to the first HFS in the first PC, not the second.

I scoured the DynDNS site knowledge base and finally found the answer.
I will put it here for others who have the same problem.

After you have set your static ports in your PCs,
and forwarded them in your router,
and set the new port in HFS,
and configured your DynDNS Updater,
Login at DynDNS.
Select the Hostname you want changed.
Change your Service Type to WebHop Redirect.
Copy and past the URL of the second HFS, which includes the alternate port, into the next box down.
And Save Changes.
« Last Edit: June 27, 2008, 03:25:43 PM by dane »

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13438
    • View Profile
thank you for sharing your solution dane!
anyway, in this uncommon case, the self test was not telling the truth.
the test on second PC was reporting OK, but it was actually the first PC to answer the test.
the self test at this stage is not able to distinguish 2 working servers.
he just check if an HFS is answering, doesn't check if it is the right one.
fortunately in the real world few people run multiple instances, so an improvement this way is not very urgent in my opinion.
it's in the to-do list anyway.