Then I ran netstat -a. It turned out that nothing on the server was listening on TCP IPv4 on those ports.
After a lot of digging, I discovered that in etc/grid/default.xml, the client-endpoints attribute was defined thus:
- Code: Select all
client-endpoints="ssl -p ${ROUTERPORT}:tcp -p 4063"
But the documentation I found for glacier2router configs says that you can specify an endpoint host explicitly using the -h parameter. So I changed the attribute to this.
- Code: Select all
client-endpoints="ssl -h nnn.nnn.nnn.nnn -p ${ROUTERPORT}:tcp -h nnn.nnn.nnn.nnn -p 4063"
where nnn.nnn.nnn.nnn is the server's IP address. And restarted. And it worked. Netstat shows that something is now listening on those ports, and I can get external clients to talk to the server.
Question 1) do you have any idea why I needed to do that to the default.xml file to get Omero.server to listen?
The installation instructions don't mention this. The troubleshooting instructions don't either.
Question 2) assuming that I really do need to localize to make this work, is there a neat way to avoid hacking the default.xml file (in place or a copy)? I'd like to make my recipes work without embedding a "snarfed" copy of any Omero config files into the cookbook ... 'cos that is liable to be problematic as Omero evolves.