Tux listen on different IP or Port

Alex Davies daviesalex at gmail.com
Wed Feb 8 16:26:09 UTC 2006


> bear in mind that SMP/SMT will have listeners on /proc/net/tux/1, etc
> depending on the number of cpus

Yip, I've checked that. They are all unused (its a single CPU box).

Many thanks,

Alex


>
> Max Helmet wrote:
> > Hi Alex,
> >
> > You probably altered /proc/net/tux/0/listen/0 while TUX was running. I think
> > TUX needs to be stopped when you alter the file.
> >
> > I just tried the following, and it worked on my end:
> >
> > $ /etc/init.d/tux stop
> > $ echo "http://192.168.0.198:8080" > /proc/net/tux/0/listen/0
> > $ /etc/init.d/tux start
> > $ netstat -lt
> > Active Internet connections (only servers)
> > Proto Recv-Q Send-Q Local Address           Foreign Address         State
> > tcp        0      0 192.168.0.198:webcache  *:*                     LISTEN
> >
> > Regards,
> > Maximilian
> >
> >
> >>Dear Max,
> >>
> >>I want to run Tux on one IP to serve up soley static content (images
> >>and so on). I am under the impression that this will give me greater
> >>performance than thttpd.
> >>
> >>I want to run Apache on another IP to server up PHP websites.
> >>
> >>echo "http://x.x.x.x:80" > /proc/net/tux/0/listen/0
> >>
> >>Indeed changes that file, but when I restart tux it is still listening
> >>on all IP addresses bound to that server!
> >>
> >>If I change the port it just ignores it and remains bound to port 80.
> >>
> >>With many thanks,
> >>
> >>Alex
> >
> >
> > _______________________________________________
> > tux-list mailing list
> > tux-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/tux-list
> >
> > !DSPAM:43ea1a04219593045745281!
> >
>
> _______________________________________________
> tux-list mailing list
> tux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/tux-list
>



--
Alex Davies // http://www.davz.net

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender immediately by e-mail and delete this e-mail permanently.

Contact me - MSN: a_davs at hotmail.com SKYPE: alex.davies




More information about the tux-list mailing list