Erik wrote:
Also, which version of Debian did you install?
If this is Buster, I think we might be banging on the wrong door: in that case, we probably should be looking in the "ledgersmb.service" (or something named like it) file to change the starman startup parameters.
Hoping for the best, I went looking. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ locate ledgersmb | grep .service /etc/systemd/system/multi-user.target.wants/ledgersmb.service /usr/lib/systemd/system/ledgersmb.service /usr/share/ledgersmb/conf/systemd/ledgersmb-development_plackup.service /usr/share/ledgersmb/conf/systemd/ledgersmb_plack-fcgi.service /usr/share/ledgersmb/conf/systemd/ledgersmb_plackup.service /usr/share/ledgersmb/conf/systemd/ledgersmb_starman.service /var/lib/systemd/deb-systemd-helper-enabled/ledgersmb.service.dsh-also /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ledgersmb.service ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ But which of those might matter? Well, if it is port 5762 that I'm trying to deal with... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ for d in $(locate ledgersmb | grep service ); do if grep -q 5762 $d; then echo $d;fi; done /etc/systemd/system/multi-user.target.wants/ledgersmb.service /usr/lib/systemd/system/ledgersmb.service /usr/share/ledgersmb/conf/systemd/ledgersmb_plackup.service /usr/share/ledgersmb/conf/systemd/ledgersmb_starman.service ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The first one is a symlink pointing to the second one. That one has this section in the middle. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExecStart=/usr/bin/starman \ --listen localhost:5762 \ -I lib \ -I old/lib \ bin/ledgersmb-server.psgi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I tried changing "localhost" to 172.20.6.16 and restarted ledgersmb, sometimes using the old method "/etc/init.d/ledgersmb restart" or the systemd way ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # service ledgersmb restart ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ No change. From "inside" (logging in over SSH and running "links2") I got a login prompt using the URL http://localhost:5762/login.pl but "connection refused" error using the URL http://172.20.6.16:5762/login.pl From outside, using another browser on the LAN I get a "cannot establish connection" using the URL http://172.20.6.16:5762/login.pl The next file I check is /usr/share/ledgersmb/conf/systemd/ledgersmb_plackup.service It too has a section in the middle mentioning "localhost" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ExecStart=/usr/bin/plackup \ --listen localhost:5762 \ -I lib/ \ -I old/lib/ \ --workers 3 \ --access-log $LOG \ --server Starman \ -R "bin, lib, old/lib" \ bin/ledgersmb-server.psgi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I changed "localhost" to "172.20.6.16". Same browser behavior as above. Somewhere in all this I find a reference to this file /usr/share/ledgersmb/conf/systemd/ledgersmb_starman.service At the top it says: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Place this in /etc/systemd/system/ledgersmb_starman.service # systemctl enable ledgersmb_starman # service start ledgersmb_starman ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ So I change "localhost" to "172.29.6.16" and copy the file as instructed, ran the commands, and got this error: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # service start ledgersmb_starman start: unrecognized service ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At this point, I'm not actually sure I have un-done all the things I have tried. But so far none of the files I've change seem to have any effect. I'm don't think I care if I have a reverse proxy running or not - but I failed to get Apache as a reverse proxy to work either. I must be missing something! -- f