I installed the Oracle Linux 7 in to the VirtualBox. This is a standard installation, I did not configure anything.
The virtual machine network is attached to Bridged Adapter.
> [root@localhost ~]# /etc/sysconfig/network-scripts/ifup ifcfg-enp0s3
> Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/0)
> [root@localhost ~]# ip addr
> 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:ad:4f:68 brd ff:ff:ff:ff:ff:ff
inet 172.24.131.35/24 brd 172.24.131.255 scope global enp0s3
inet6 fe80::a00:27ff:fead:4f68/64 scope link
valid_lft forever preferred_lft forever
With winscp I copied the jboss-as-7 and the java to /usr/etc path.
08:45:51,486 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
By default, all services including the HTTP listener services are bound to localhost (for security reasons). So you can't access the server remotely unless you specify which IP/host the server's services are to be bound to. One of the ways to bind to a specific IP which is then remotely accessible is by using the -b option (there are other ways to do it via the standalone/domain xml configurations too) to the startup command: