Cant Find IP Address

HI there I am a newbie with docker. I have recently installed docker toolbox for windows 10 home. I downloaded the jboss/wildfly image from the docker hub. I tried to create the container with the following command.: docker run -p 8080:8080 -p 9990:9990 -it jboss/wildfly /opt/jboss/wildfly/bin/standalone.sh -bmanagement 0.0.0.0. The server appears to be up and running. I got the IP address for my host using docker-machine ls which gave me an IP address of 192.168.99.100. When I type the following into my MS Edge browser http:\\192.168.99.100:8080\ instead of getting the wildfly welcome page I get “Cannot Reach This Page” error (HTTP 404?). I have tried this with the Tomcat server and have the same problem. Thanks.

Hello @stelow68
Can you check This jboss/wildfly Is up and running?
use of docker ps -a
or check container property docker inspect <container_id>

Hi Ravi, Yes the container is running.Thanks.

Hello @stelow68
Can you check This docker inspect <container_id>

Ravi, Here is the output from docker inspect command.

[
{
“Id”: “66e046e64e0d9dcfd18a2cc0925d564b8670e99d41c9abde59944d678f50090b”,
“Created”: “2019-10-23T14:08:50.014367899Z”,
“Path”: “/opt/jboss/wildfly/bin/standalone.sh”,
“Args”: [
“-bmanagement”,
“0.0.0.0”
],
“State”: {
“Status”: “running”,
“Running”: true,
“Paused”: false,
“Restarting”: false,
“OOMKilled”: false,
“Dead”: false,
“Pid”: 2681,
“ExitCode”: 0,
“Error”: “”,
“StartedAt”: “2019-10-23T14:08:50.368179133Z”,
“FinishedAt”: “0001-01-01T00:00:00Z”
},
“Image”: “sha256:254d174eaa1558c00215dd3faeb00b8ea4d7031349757a12bcb88905b963ecb5”,
“ResolvConfPath”: “/mnt/sda1/var/lib/docker/containers/66e046e64e0d9dcfd18a2cc0925d564b8670e99d41c9abde59944d678f50090b/resolv.conf”,
“HostnamePath”: “/mnt/sda1/var/lib/docker/containers/66e046e64e0d9dcfd18a2cc0925d564b8670e99d41c9abde59944d678f50090b/hostname”,
“HostsPath”: “/mnt/sda1/var/lib/docker/containers/66e046e64e0d9dcfd18a2cc0925d564b8670e99d41c9abde59944d678f50090b/hosts”,
“LogPath”: “/mnt/sda1/var/lib/docker/containers/66e046e64e0d9dcfd18a2cc0925d564b8670e99d41c9abde59944d678f50090b/66e046e64e0d9dcfd18a2cc0925d564b8670e99d41c9abde59944d678f50090b-json.log”,
“Name”: “/focused_buck”,
“RestartCount”: 0,
“Driver”: “overlay2”,
“Platform”: “linux”,
“MountLabel”: “”,
“ProcessLabel”: “”,
“AppArmorProfile”: “”,
“ExecIDs”: null,
“HostConfig”: {
“Binds”: null,
“ContainerIDFile”: “”,
“LogConfig”: {
“Type”: “json-file”,
“Config”: {}
},
“NetworkMode”: “default”,
“PortBindings”: {
“8080/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8080”
}
],
“9990/tcp”: [
{
“HostIp”: “”,
“HostPort”: “9990”
}
]
},
“RestartPolicy”: {
“Name”: “no”,
“MaximumRetryCount”: 0
},
“AutoRemove”: false,
“VolumeDriver”: “”,
“VolumesFrom”: null,
“CapAdd”: null,
“CapDrop”: null,
“Capabilities”: null,
“Dns”: ,
“DnsOptions”: ,
“DnsSearch”: ,
“ExtraHosts”: null,
“GroupAdd”: null,
“IpcMode”: “private”,
“Cgroup”: “”,
“Links”: null,
“OomScoreAdj”: 0,
“PidMode”: “”,
“Privileged”: false,
“PublishAllPorts”: false,
“ReadonlyRootfs”: false,
“SecurityOpt”: null,
“UTSMode”: “”,
“UsernsMode”: “”,
“ShmSize”: 67108864,
“Runtime”: “runc”,
“ConsoleSize”: [
30,
120
],
“Isolation”: “”,
“CpuShares”: 0,
“Memory”: 0,
“NanoCpus”: 0,
“CgroupParent”: “”,
“BlkioWeight”: 0,
“BlkioWeightDevice”: ,
“BlkioDeviceReadBps”: null,
“BlkioDeviceWriteBps”: null,
“BlkioDeviceReadIOps”: null,
“BlkioDeviceWriteIOps”: null,
“CpuPeriod”: 0,
“CpuQuota”: 0,
“CpuRealtimePeriod”: 0,
“CpuRealtimeRuntime”: 0,
“CpusetCpus”: “”,
“CpusetMems”: “”,
“Devices”: ,
“DeviceCgroupRules”: null,
“DeviceRequests”: null,
“KernelMemory”: 0,
“KernelMemoryTCP”: 0,
“MemoryReservation”: 0,
“MemorySwap”: 0,
“MemorySwappiness”: null,
“OomKillDisable”: false,
“PidsLimit”: null,
“Ulimits”: null,
“CpuCount”: 0,
“CpuPercent”: 0,
“IOMaximumIOps”: 0,
“IOMaximumBandwidth”: 0,
“MaskedPaths”: [
“/proc/asound”,
“/proc/acpi”,
“/proc/kcore”,
“/proc/keys”,
“/proc/latency_stats”,
“/proc/timer_list”,
“/proc/timer_stats”,
“/proc/sched_debug”,
“/proc/scsi”,
“/sys/firmware”
],
“ReadonlyPaths”: [
“/proc/bus”,
“/proc/fs”,
“/proc/irq”,
“/proc/sys”,
“/proc/sysrq-trigger”
]
},
“GraphDriver”: {
“Data”: {
“LowerDir”: “/mnt/sda1/var/lib/docker/overlay2/43f690490da63cf6415571d7b5472ad90481ab1c3cabff0a75aa61390656c77d-init/diff:/mnt/sda1/var/lib/docker/overlay2/86b3880d2dee53a9f2838d65939c636e3d03d9642aea8a77de37022d58b5621b/diff:/mnt/sda1/var/lib/docker/overlay2/aa1c648d0f440ca67a095b60ff8f37d1be7846e34f5ea677980f8e5ee84f7e3c/diff:/mnt/sda1/var/lib/docker/overlay2/d6fcf846ab479485ecefdadca4527aa346cd942db2ca6ba1573f5f04829ee46b/diff:/mnt/sda1/var/lib/docker/overlay2/33fa3ba164794fcd3081e6896483c45137e2e64552882cf903231931d5a88bc1/diff:/mnt/sda1/var/lib/docker/overlay2/7cb869b025a74137c2562267d2948158c21d0d706da910dbabe0599bdf138d52/diff”,
“MergedDir”: “/mnt/sda1/var/lib/docker/overlay2/43f690490da63cf6415571d7b5472ad90481ab1c3cabff0a75aa61390656c77d/merged”,
“UpperDir”: “/mnt/sda1/var/lib/docker/overlay2/43f690490da63cf6415571d7b5472ad90481ab1c3cabff0a75aa61390656c77d/diff”,
“WorkDir”: “/mnt/sda1/var/lib/docker/overlay2/43f690490da63cf6415571d7b5472ad90481ab1c3cabff0a75aa61390656c77d/work”
},
“Name”: “overlay2”
},
“Mounts”: ,
“Config”: {
“Hostname”: “66e046e64e0d”,
“Domainname”: “”,
“User”: “jboss”,
“AttachStdin”: false,
“AttachStdout”: false,
“AttachStderr”: false,
“ExposedPorts”: {
“8080/tcp”: {},
“9990/tcp”: {}
},
“Tty”: false,
“OpenStdin”: false,
“StdinOnce”: false,
“Env”: [
“PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”,
“JAVA_HOME=/usr/lib/jvm/java”,
“WILDFLY_VERSION=18.0.0.Final”,
“WILDFLY_SHA1=2d4778b14fda6257458a26943ea82988e3ae6a66”,
“JBOSS_HOME=/opt/jboss/wildfly”,
“LAUNCH_JBOSS_IN_BACKGROUND=true”
],
“Cmd”: [
“/opt/jboss/wildfly/bin/standalone.sh”,
“-bmanagement”,
“0.0.0.0”
],
“Image”: “jboss/wildfly”,
“Volumes”: null,
“WorkingDir”: “/opt/jboss”,
“Entrypoint”: null,
“OnBuild”: null,
“Labels”: {
“org.label-schema.build-date”: “20181205”,
“org.label-schema.license”: “GPLv2”,
“org.label-schema.name”: “CentOS Base Image”,
“org.label-schema.schema-version”: “1.0”,
“org.label-schema.vendor”: “CentOS”
}
},
“NetworkSettings”: {
“Bridge”: “”,
“SandboxID”: “e34ec49db24d335d0fbcc08569b09e4af02fa780ba4d2a9399789f19554a1df2”,
“HairpinMode”: false,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“Ports”: {
“8080/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “8080”
}
],
“9990/tcp”: [
{
“HostIp”: “0.0.0.0”,
“HostPort”: “9990”
}
]
},
“SandboxKey”: “/var/run/docker/netns/e34ec49db24d”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null,
“EndpointID”: “854192ba165abff9cbd15b61f06e79922be627cf5f4783d117aeff5a432c65f1”,
“Gateway”: “172.17.0.1”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAddress”: “172.17.0.2”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“MacAddress”: “02:42:ac:11:00:02”,
“Networks”: {
“bridge”: {
“IPAMConfig”: null,
“Links”: null,
“Aliases”: null,
“NetworkID”: “399781c7b3b3e36481a734ff9ee7c5c803e692f760d8a8181309dd56035c8837”,
“EndpointID”: “854192ba165abff9cbd15b61f06e79922be627cf5f4783d117aeff5a432c65f1”,
“Gateway”: “172.17.0.1”,
“IPAddress”: “172.17.0.2”,
“IPPrefixLen”: 16,
“IPv6Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“MacAddress”: “02:42:ac:11:00:02”,
“DriverOpts”: null
}
}
}
}
]

Hello @stelow68
Can You run 0.0.0.0:8080 ip In your browser

Hi Ravi, Tried that IP in my browser still getting “Cant Reach Page” HTTP 404 response

hi ravi, have you got any ideas?