/    Sign up×
Community /Pin to ProfileBookmark

Apache which port?

How do you change what port apache is running on i want to run it on 81

to post a comment
Full-stack Developer

5 Comments(s)

Copy linkTweet thisAlerts:
@Stephen_PhilbinOct 20.2005 — You need to set it in the httpd.conf file. The conf file can usually be found at /usr/local/apache/conf/httpd.conf if you're using Apache 1 or /usr/local/apache2/conf/httpd.conf if you're using Apache 2 (default locations). There'll be a line instructing Apache to use port 80. Change that to say 81 and then restart the server to make the change take effect.
Copy linkTweet thisAlerts:
@bringerofnightauthorOct 20.2005 — ok i have apache running on port 80 and would like to make a copy and run it on port 81 for my brother so i just install it on his account and set the config right thanks a lot
Copy linkTweet thisAlerts:
@ray326Oct 21.2005 — You could also do that with a single instance of Apache using virtual hosts.
Copy linkTweet thisAlerts:
@bringerofnightauthorOct 25.2005 — how do you do that?
×

Success!

Help @bringerofnight spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...