I've got a proprietary service running on port 8090 (actually running on a VBoxHeadless VM and capturing this port from the host machine) on an Internet server.
Nmap shows port 8090 open both on host and on VM. The service looks starting (and stopping if asked) ok. Telnet is able to connect to the port from a remote client side (but there's no data shown in telnet, so I can'be sure if it is working or not). Other services (such as Postfix and Dovecot) also working in a virtual machine (Debian Lenny though, while the host and the guest I am interested in run Ubuntu Lucid) work fine, Samba shares on the same VM work fine.
But a client (Windows, connected to host via OpenVPN (which is functioning - Samba works fine over it) over Internet) says it can't access that service there, on port 8090.
What can be blocking it? May it be some app-armour/selinux/hosts.allow thing or so? The service was installed 100% manually (following the manual), no scripts there).
UPDATE, to be more specific. I've just set up everything myself with mostly default configs and no special routing/firewalling. OpenVPN client and server configs are those from OpenVPN docs (and they were working once, when I was not using VMs), iptables rules (both on host and VM) are now set accept all and do nothing special, I only plan to secure them after I get the system working at all. hosts.allow/deny seem to be empty (everything is #-ed, as it goes out of the box).
As I've specified above, OpenVPN tunnell seems to work fine, as pings go there with no problems and accessing Samba over 445th port works fine (while it does not work via Internet if no OpenVPN used). There are no special access/routing rules set up there in OpenVPN config, neither are in iptables. Routing scheme is simple - a client requests server host (which can be accessed either via OpenVPN it runs, or directly via the Internet), then VirtualBox's natpf rules capture specific ports and take them to VMs (there are 2 VMs and no conflicts there, one runs a mail server, another runs Samba+FireBird+AbraAppServer(the last is the actual problematic service)).
I have zero knowledge about app-armour/selinux or whatever it is there in Ubuntu Lucid - may it be that? Keep in mind that if it's there, it's set up by default, like it is out of the box in Ubuntu 10.04 Server.