Re: ftpd (FTP) IP Address binding running TK4- on Hercules 4.
| Newsgroups | gmane.comp.emulators.hercules390.general |
|---|---|
| Message-ID | <[email protected]> |
Hi PJ well, the default _is_ to listen on all IP addresses. The most probable cause of your observation is that you have an ftp daemon running on your host system… in which case, however, the MVS FTPD would terminate with a bind error. Btw.: The bind is triggered from the MVS FTP daemon, the source of which can be found in JCC.TCPIP.SRC(FTPD). The actual bind is then performed in the Hercules source tcpip.c. I don't recommend to ever change tcpip.c -- unless you know exactly what you are doing you'll almost certain break Hercules when changing tcpip.c. Cheers Jürgen ---In [email protected], <patrick.sunderland@...> wrote : Hi, Does anyone know if it is possible to configure the binding address for ftpd in hercules (4) and TK4-? I start ftpd with: /start ftpd,srvport=21 It then appears to be listening on localhost, port 21 (127.0.0.1) I am trying to find a way to have it listen on all ips, i.e. '0.0.0.0', port 21 If not maybe anyone knows where in the Hercules source code the binding happens? Many thanks, PJ Sunderland.