Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot create data socket (127.0.0.1, 4558): Address



> 	The ip local port range (as in
> /proc/sys/net/ipv4/ip_local_port_range) is 1024:4999, the default for
> most(?) Linux distributions. Should I change this to something higher?

According to the IANA assigned port numbers document, it should be using
49152 upwards.

> 	   data_source.sin_port = htons(ntohs(ctrl_addr.sin_port)-1);
> 	to
> 	   data_source.sin_port = htons(0);
> 	in hfaxd/InetFaxServer.c++ be OK?

depends whether or not the client is paranoid, which is the other reason
for using a fixed port number, at least with true privileged ports.

> connection I would need to modify class InetTransport. Before I start
> hacking away, would a passive connection solve the problem?

You can still conflict with another local user of port 4558 if the passive
connection uses that port number, which I think an FTP server would do.



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services