On Thu, Apr 30, 2009 at 2:37 AM, Brandon Barker
<brandon.bar...@gmail.com> wrote:
> Hello,
>
> I set up a sparse zone on the system version below:
>
> bash-3.2# uname -a
> SunOS solsage 5.11 snv_109 i86pc i386 i86pc
>
> I then tried to run a server application in the zone on port 8000, and after 
> being unable to connect (including even locally connect), I looked at the 
> netstat output from within the zone (there is none):
>
> bash-3.2# netstat -an
> bash-3.2#
>
>
> >From the global zone, the only entry that shows up is the terminal 
> >connection:
>
> # netstat -an | grep solsage
> ffffff035db0b860 stream-ord ffffff055319f700 0000000 
> /var/run/zones/solsage.console_sock
> #

If the app is running in a non-global zone, you need to run "netstat
-an" in the non-global zone.  Also, the -n option to netstat, you
should not expect to see the hostname in anything other than UNIX
domain sockets, such as the one displayed above.  That is, network
sockets will have the IP address of the interface or 0.0.0.0 as the
local address.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to