Skip to main content
OCLC Support


Learn how to use the FirstPort config.txt directive to allow EZproxy to use port 2048 if no FirstPort is provided.

FirstPort is a position-independent directive that normally appears toward the top of config.txt. In the absence of a FirstPort directive, EZproxy uses port 2048 as its first port.

FirstPort only applies when using EZproxy in proxy by port. FirstPort should be followed by the first port number that EZproxy should use to assign ports when creating virtual web servers.


FirstPort port


FirstPort 5000

Related directives

Name, LoginPort, LoginPortSSL, SkipPort