hi Jaghatise,
Java version is as below
openjdk version β1.8.0_181β
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
I can confirm that after server restart , I am able to open the application in the web browser in CENTOS machine (e.g. http://localhost/home). But, I am not able to open the application in the windows machine in browser (http://192.168.122.1/home) which is connected to the same network. I am able to ping and connect windows machine to the CENTOS machine using the same ip (192.168.122.1). Not sure what is the problem β¦
Firewall configuration also looks okay to me as below
[root@localhost bahmni_support]# iptables -L -n -v --line-numbers
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
*num pkts bytes target prot opt in out source destination *
1 0 0 ACCEPT udp β virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
2 0 0 ACCEPT tcp β virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
3 0 0 ACCEPT udp β virbr0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
4 0 0 ACCEPT tcp β virbr0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
5 195K 56M ACCEPT all β * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
*6 1127 67644 ACCEPT all β lo * 0.0.0.0/0 0.0.0.0/0 *
*7 317 22833 INPUT_direct all β * * 0.0.0.0/0 0.0.0.0/0 *
*8 317 22833 INPUT_ZONES_SOURCE all β * * 0.0.0.0/0 0.0.0.0/0 *
*9 317 22833 INPUT_ZONES all β * * 0.0.0.0/0 0.0.0.0/0 *
10 13 580 DROP all β * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
11 302 22149 REJECT all β * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
*num pkts bytes target prot opt in out source destination *
1 0 0 ACCEPT all β * virbr0 0.0.0.0/0 192.168.122.0/24 ctstate RELATED,ESTABLISHED
*2 0 0 ACCEPT all β virbr0 * 192.168.122.0/24 0.0.0.0/0 *
*3 0 0 ACCEPT all β virbr0 virbr0 0.0.0.0/0 0.0.0.0/0 *
4 0 0 REJECT all β * virbr0 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
5 0 0 REJECT all β virbr0 * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
6 0 0 ACCEPT all β * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
*7 0 0 ACCEPT all β lo * 0.0.0.0/0 0.0.0.0/0 *
*8 0 0 FORWARD_direct all β * * 0.0.0.0/0 0.0.0.0/0 *
*9 0 0 FORWARD_IN_ZONES_SOURCE all β * * 0.0.0.0/0 0.0.0.0/0 *
*10 0 0 FORWARD_IN_ZONES all β * * 0.0.0.0/0 0.0.0.0/0 *
*11 0 0 FORWARD_OUT_ZONES_SOURCE all β * * 0.0.0.0/0 0.0.0.0/0 *
*12 0 0 FORWARD_OUT_ZONES all β * * 0.0.0.0/0 0.0.0.0/0 *
13 0 0 DROP all β * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
14 0 0 REJECT all β * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT 171K packets, 34M bytes)
*num pkts bytes target prot opt in out source destination *
1 0 0 ACCEPT udp β * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68
*2 196K 53M OUTPUT_direct all β * * 0.0.0.0/0 0.0.0.0/0 *
Chain FORWARD_IN_ZONES (1 references)
*num pkts bytes target prot opt in out source destination *
*1 0 0 FWDI_public all β em1 * 0.0.0.0/0 0.0.0.0/0 [goto] *
*2 0 0 FWDI_public all β + * 0.0.0.0/0 0.0.0.0/0 [goto] *
Chain FORWARD_IN_ZONES_SOURCE (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FORWARD_OUT_ZONES (1 references)
*num pkts bytes target prot opt in out source destination *
*1 0 0 FWDO_public all β * em1 0.0.0.0/0 0.0.0.0/0 [goto] *
*2 0 0 FWDO_public all β * + 0.0.0.0/0 0.0.0.0/0 [goto] *
Chain FORWARD_OUT_ZONES_SOURCE (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FORWARD_direct (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FWDI_public (2 references)
*num pkts bytes target prot opt in out source destination *
*1 0 0 FWDI_public_log all β * * 0.0.0.0/0 0.0.0.0/0 *
*2 0 0 FWDI_public_deny all β * * 0.0.0.0/0 0.0.0.0/0 *
*3 0 0 FWDI_public_allow all β * * 0.0.0.0/0 0.0.0.0/0 *
*4 0 0 ACCEPT icmp β * * 0.0.0.0/0 0.0.0.0/0 *
Chain FWDI_public_allow (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FWDI_public_deny (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FWDI_public_log (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FWDO_public (2 references)
*num pkts bytes target prot opt in out source destination *
*1 0 0 FWDO_public_log all β * * 0.0.0.0/0 0.0.0.0/0 *
*2 0 0 FWDO_public_deny all β * * 0.0.0.0/0 0.0.0.0/0 *
*3 0 0 FWDO_public_allow all β * * 0.0.0.0/0 0.0.0.0/0 *
Chain FWDO_public_allow (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FWDO_public_deny (1 references)
*num pkts bytes target prot opt in out source destination *
Chain FWDO_public_log (1 references)
*num pkts bytes target prot opt in out source destination *
Chain INPUT_ZONES (1 references)
*num pkts bytes target prot opt in out source destination *
*1 291 19856 IN_public all β em1 * 0.0.0.0/0 0.0.0.0/0 [goto] *
*2 26 2977 IN_public all β + * 0.0.0.0/0 0.0.0.0/0 [goto] *
Chain INPUT_ZONES_SOURCE (1 references)
*num pkts bytes target prot opt in out source destination *
Chain INPUT_direct (1 references)
*num pkts bytes target prot opt in out source destination *
Chain IN_public (2 references)
*num pkts bytes target prot opt in out source destination *
*1 317 22833 IN_public_log all β * * 0.0.0.0/0 0.0.0.0/0 *
*2 317 22833 IN_public_deny all β * * 0.0.0.0/0 0.0.0.0/0 *
*3 317 22833 IN_public_allow all β * * 0.0.0.0/0 0.0.0.0/0 *
*4 0 0 ACCEPT icmp β * * 0.0.0.0/0 0.0.0.0/0 *
Chain IN_public_allow (1 references)
*num pkts bytes target prot opt in out source destination *
1 2 104 ACCEPT tcp β * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW
Chain IN_public_deny (1 references)
*num pkts bytes target prot opt in out source destination *
Chain IN_public_log (1 references)
*num pkts bytes target prot opt in out source destination *
Chain OUTPUT_direct (1 references)
*num pkts bytes target prot opt in out source destination *
[root@localhost bahmni_support]#