rejetto forum

Software => HFS ~ HTTP File Server => router & port problems => Topic started by: bpier on March 04, 2013, 06:48:20 PM

Title: starting 2nd instance of HFS with nport=51935 gets port=8080 ???
Post by: bpier on March 04, 2013, 06:48:20 PM
Hi all,

I'm starting multiple instances of HFS and using the port parameter, but the second instance starting with a parameter of port=51935 starts, but with port 8080! 
WHY?

Port 51935 is not being used and is not otherwise blocked, a I can manually change the port from 8080 to 51935 and test the access - and it works fine.  This second instance just won't startup with the parameter setting from "port=".

Second instance command:  "C:\Program Files\HFS\hfs.exe" -c active=yes\nonly-1-instance=no\nauto-save-vfs=yes\nauto-save-options=no\nport=61935 -d 30

Title: Re: starting 2nd instance of HFS with nport=51935 gets port=8080 ???
Post by: rejetto on March 05, 2013, 12:53:26 PM
if you read the documentation,
Quote
To specify many commands, separate them by \n. Example:
hfs -c active=yes\nport=8080

\n is the separator, so the command is "port", not "nport"
Title: Re: starting 2nd instance of HFS with nport=51935 gets port=8080 ???
Post by: bpier on March 06, 2013, 04:46:12 PM
Yes, I mis-typed; I understand that the parameter is "port" and the separator is "\n".

I'm still experiencing the problem however, wherein the port is specified on the command line and the instance starts with port 8080, which was NOT specified.
Title: Re: starting 2nd instance of HFS with nport=51935 gets port=8080 ???
Post by: rejetto on March 11, 2013, 12:43:45 AM
mm, that must be some other option, because i tested here with your command line, and the second hfs started with the specified port, not 8080.

to hunt the offending option you may use Menu > debug > show customized options
and try to change/disable what may be involved