Hi Mike,

keep in mind that you need to expose each port explicitly in Docker, see 
https://docs.docker.com/engine/reference/commandline/port/ and 
https://docs.docker.com/engine/reference/commandline/run/#/publish-or-expose-port--p---expose
.

Cheers,
Jochen

On Tuesday, 6 December 2016 21:58:12 UTC+1, Mike Norris wrote:
>
> Jochen
>
> Thanks for this suggestion, but it still isn't working
>
> I ran ipconfig /all on my windows box via the command line
> and got IP address 10.0.75.1 for my Docker container  (see below)
>
> I tried using 10.0.75.1 as the bind address in Graylog inputs, this failed 
> to start up, so I reset it to 0.0.0.0
> - this 0.0.0.0 setting allows the GELF HTTP input listener to start 
> successfully, 10.0.75.1 will not
>
> Then I entered 10.0.75.1:9000 in my browser and the Graylog login page 
> appeared
>
> Then I tried to send a HTTP Post with JSON body to address 10.0.75.1:12201, 
> as still get the same old error
> e.g. Invoke-WebRequest : Unable to connect to the remote server
>
> If I enter http://10.0.75.1:12201/gelf in my browser I also get the same 
> kind of error
>
> IS it possible that the /gelf part of the URL is wrong? at a basic level 
> the browser will display a login page for http://10.0.75.1:900
>
> I believe 10.0.75.1 is reachable but :12202 or /gelf is not ?? 
>
> I remain confused by GELF over HTTP, its not https is it ???
>
> Mike
>
> --- output from ipconfig /all)
> *Ethernet adapter vEthernet (DockerNAT):*
>
> *   Connection-specific DNS Suffix  . :*
> *   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter*
> *   Physical Address. . . . . . . . . : 00-15-5D-15-4C-00*
> *   DHCP Enabled. . . . . . . . . . . : No*
> *   Autoconfiguration Enabled . . . . : Yes*
> *   IPv4 Address. . . . . . . . . . . : 10.0.75.1(Preferred)*
> *   Subnet Mask . . . . . . . . . . . : 255.255.255.0*
>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/68539b75-8ed5-4cc1-80cf-85093daae690%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to