I’ve install the 7.9.13 GW on a CENTOS8 VM under VirtualBox. The ignition service is running under the root user, however doesn’t seem to be listening on tcp port 8088, so it’s not accessible.
I have the same setup under Ubuntu VM’s running fine. What should I be looking at?
Thanks!
Not accessible by the Linux VM or by the host?
Have you checked the port status?
Try sudo netstat -tulpn | grep java and see if port 8088 is open
or “ss -lntu” if netstat isn’t available.
When I said it wasn’t listening on 8088, that was because a simple netstat -a showed nothing listening on 8088. However, taking your advice …
[bill@localhost ~]$ sudo netstat -tulpn | grep java
[sudo] password for bill:
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 1713/java
tcp6 0 0 :::8043 :::* LISTEN 1713/java
tcp6 0 0 127.0.0.1:45900 :::* LISTEN 1713/java
tcp6 0 0 :::8088 :::* LISTEN 1713/java
tcp6 0 0 :::8060 :::* LISTEN 1713/java
tcp6 0 0 127.0.0.1:4096 :::* LISTEN 1713/java
udp6 0 0 :::4445 :::* 1713/java
I see something listening on a tcp6 8088. So it turns out to be a FW issue …
[bill@localhost ~]$ sudo firewall-cmd --state
running
[bill@localhost ~]$ sudo systemctl stop firewalld
[bill@localhost ~]$ sudo systemctl disable firewalld
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
… solves the problem.
Thanks!
To open a port.
sudo firewall-cmd --zone=public --permanent --add-port=8088/tcp
firewall-cmd --reload
a firewall in a devel vm seems unnecessary.
Disagree. I think development VMs should closely match the environment of the corresponding production gateway/VM. Including firewalls and other networking.
2 Likes
I disagree more. It depends on the production environment. In my case, the production environment will have no VM.
In my case, my VM devel env is only used to manage several ongoing projects.
Sitting on my couch doing development on my laptop for some (offline) project, a FW is totally unnecessary. But if you want to use one on your couch, go for it.