Re: Starting the gotour server on CentOS 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 04/18/2014 01:13 PM, Evan Rowley wrote:
> Hey CentOS folks!
>
> I have an interesting issue with starting a server on a CentOS 6 KVM guest.
> The server (service) in particular is gotour, which is a web application
> created by Google and their Golang developers, intended to teach users the
> basics of using the Go programming langauge.
>
> When starting gotour, the program claims to be binding to port 12049, but
> the VM doesn't seem to be serving anything on that port. Upon checking the
> netstat output, I see a process bound to port 12049.
>
> It is definitley possible that the problem is with Go itself, but I'd like
> to rule out the possibility that something on an out-of-the-box CentOS 6
> image might be preventing the server from working.
>
> Here is some of the output:
>
> [appengine@centos6-paas-dev gotour]$ gotour
> 2014/04/17 22:04:33 Serving content from
> /home/appengine/goprojects/firstproj/go/src/code.google.com/p/go-tour
> 2014/04/17 22:04:33
> WARNING!  WARNING!  WARNING!
> I appear to be listening on an address that is not localhost.
> Anyone with access to this address and port will have access
> to this machine as the user running gotour.
> If you don't understand this message, hit Control-C to terminate this
> process.
> WARNING!  WARNING!  WARNING!
> 2014/04/17 22:04:34 Please open your web browser and visit
> http://10.10.10.205:12049
>
> [root@centos6-paas-dev ~]# netstat -pnaevZ
> Proto Recv-Q Send-Q Local Address               Foreign Address
> State     User       Inode      PID/Program name    Security Context
> ...
> tcp        0      0 10.10.10.205:12049         0.0.0.0:*
> LISTEN     505        224898     9331/gotour
> fined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
>
> [appengine@centos6-paas-dev gotour]$ getenforce
> Permissive
>
> Any ideas
iptables -L ?   do you have the local firewall running?
'service iptables stop', test, but don't leave it that way.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux