Re: [squid-users] Port Changing in Fedora 8

From: nima sadeghian <sadegian@dont-contact.us>
Date: Sat, 1 Mar 2008 14:40:45 +0330

for opening a port on redhat go to etc/sysconfig/iptables there you
can open the port and service network restart

On Sat, Mar 1, 2008 at 1:03 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> Steve B wrote:
> > Sorry, forgot to reply to squidusers again.
> >
> > 1) I want to use another port because where I am, no other port is
> > open. The port is 81.
> > 2) I put inside of my .conf file: http_port 81.
> > 3) Not from what the grep command had said. Someone else suggested to
> > use it so I used it. Supposedly nothing.
> > 4) Not from what I had seen.
>
> Ports under 1024 have three problems that are usually seen to fail startup:
>
> * Something else already using it.
>
> * Starting squid as user other than root.
>
> * SELinux security policy preventing even root opening the port.
>
> Amos
>
> >
> >
> >
> > On Fri, Feb 29, 2008 at 5:03 AM, Peter Albrecht
> > <peter.albrecht@novell.com> wrote:
> > > Hi Steve,
> > >
> > >
> > >
> > > On Thursday 28 February 2008 20:18, Steve B wrote:
> > > > I am trying to change the port that Squid uses from 3128(default) to
> > > > something other than it obviously. My main problem is that when I
> > > > change the port to Anything, even 3127(made something up), squid will
> > > > NOT start. For example when I type the command 'service squid start'
> > > > with the port at 3128, it will start, but if it is anything other then
> > > > that, it will go: 'Starting Squid......................... [FAILED]'
> > > >
> > > > Any help?
> > >
> > > Some questions:
> > >
> > > 1) _Why_ do you want to use another port? You have to tell the clients
> > > anyway.
> > > 2) _How_ did you configure the other port? What is in your http_port
> > > directive?
> > > 3) Is there any other service running on the port you want to use? Try
> > > "nmap ip-of-your-server" to see if any service is running on that port.
> > > 4) Is there any information in the log files?
> > >
> > > Regards,
> > >
> > > Peter
> > >
> > > --
> > > Peter Albrecht, Novell Training Services
> > >
> >
> >
> >
> > --
> > -Steve
> >
> >
> >
>
>
> --
> Please use Squid 2.6STABLE17+ or 3.0STABLE1+
> There are serious security advisories out on all earlier releases.
>

-- 
Best Regards
Nima Sadeghian
Received on Sat Mar 01 2008 - 04:10:50 MST

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:04 MDT