Handling additional ports in Squid

Posted on 2006-05-06
Last Modified: 2013-12-16
Can Squid be configured to accept additional port parameters with a http request?
For instance, to access a particular web mail server, port 3000 is required, but the URL gets denied access

returns Access Denied and the following in the squid log :
 1146948287.184      8 <my ip> TCP_DENIED/403 1377 CONNECT <email server ip>:3000 - NONE/- text/html

Question by:sheepfarmer
    LVL 43

    Expert Comment

    go to squid.conf find lines like
    acl Safe_ports port ...
    add Your desired port
    acl Safe_ports port 3000
    reload squid configuration

    Author Comment

    I tried that, but it still got rejected.
    I wonder if its getting confused with the requested port as the url is acutally https, thus
    so a combination of 443 and 3000
    LVL 43

    Accepted Solution

    if it's https:, then add this port to
    acl SSL_ports port ...

    Author Comment

    Cool dude, that worked.

    Thanks alot

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now