Definitely meant -6. What system are you running? $ netstat -a -6 Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp6 0 0 [::]:ssh [::]:* LISTEN tcp6 0 0 ::1%3216889256:ipp [::]:* LISTEN tcp6 0 0 ::1%3216889256:6010 [::]:* LISTEN tcp6 0 0 ::1%3216889256:6011 [::]:* LISTEN tcp6 0 0 ::1%3216889256:6012 [::]:* LISTEN tcp6 0 0 [::]:microsoft-ds [::]:* LISTEN tcp6 0 0 [::]:6600 [::]:* LISTEN tcp6 0 0 [::]:rsync [::]:* LISTEN tcp6 0 0 [::]:netbios-ssn [::]:* LISTEN tcp6 0 0 [::]:57773 [::]:* LISTEN udp6 0 0 [::]:4001 [::]:*
On Tue, Nov 9, 2010 at 10:30 AM, Ravindra Patil <[email protected]>wrote: > Is it "-6" ? its not working on my machine. its says invalid option > $netstat -a -6 > netstat: invalid option -- 6 > > i tried following. it still same result. > > $ netstat -S -aln -A inet6 > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address > State > > sctp * 255.255.255.255:3005* > LISTEN > > > > > On Tue, Nov 9, 2010 at 11:25 AM, Daniel Eggleston <[email protected]>wrote: > >> Try using the "-6" option: >> >> netstat -6 -a >> >> >> On Tue, Nov 9, 2010 at 10:12 AM, ravi <[email protected]> wrote: >> >>> Hi , >>> >>> I am trying to run the simple ipv6 server and client program. When i >>> run server in ipv4 and client in ipv6 every thing works fine. >>> If i run server in ipv6. my ethernet connection resets.. >>> if i do netstat following is shown. >>> >>> sctp 255.255.255.255:3005 >>> LISTEN 6143/serv >>> >>> the address shown in the netstat is not looking correct. >>> >>> Any pointer why its not working. I am using lksctp. Also how do i >>> check what version i am running of lksctp? >>> >>> -- >>> You received this message because you are subscribed to the Linux Users >>> Group. >>> To post a message, send email to [email protected] >>> To unsubscribe, send email to >>> [email protected] >>> For more options, visit our group at >>> http://groups.google.com/group/linuxusersgroup >> >> >> >> >> -- >> >> Daniel >> >> -- >> You received this message because you are subscribed to the Linux Users >> Group. >> To post a message, send email to [email protected] >> To unsubscribe, send email to >> [email protected] >> For more options, visit our group at >> http://groups.google.com/group/linuxusersgroup >> > > > > -- > Thanks & Regards, > Ravindra M. Patil > > -- > You received this message because you are subscribed to the Linux Users > Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup > -- Daniel -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
