Welcome, Guest. Please login or register.
April 17, 2014, 02:54:28 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Pardus for beginners
| | |-+  change http port
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: change http port  (Read 822 times)
DANHO
Pardus Master
***
Gender: Male
Posts: 187


Pardus SF


View Profile
« on: March 18, 2008, 19:02:56 PM »

I have two machines running Pardus in the same network.
.
One I use as a server to serve pages on the world wide web.
The other is a workstation for work and entertainment.
.
When I use the workstation to build and test pages with apache in localhost, it interferes with the servers machine port 80, giving every request my newly being built page.
.
In other words, when any of the domain names Im hosting is requested, internet users get my workstation localhost.
.
Can someone help me change the http port number on my workstation so that it does'nt interfere with the servers http port?
.
.
.
The reason for this?,,,

1. The Pardus workstation is set to "priority" in the routers "QOS". (so that workstation can consume most bandwith)
2. The Pardus server is set to low "priority" w/ a fix upstream band limit.
3. Both Pardus machines are running apache software listening on "default" port :80. ("Listen" in httpd.conf)

« Last Edit: April 01, 2008, 00:49:13 AM by DANHO » Logged
DANHO
Pardus Master
***
Gender: Male
Posts: 187


Pardus SF


View Profile
« Reply #1 on: April 01, 2008, 01:27:47 AM »

Im not sure that this is the appropriate method, but it seems to work around the problema.
.
1. You can always use good web developement tools Pardus does has to offer like Quantas, NVU and much more to build and test web pages.

2. Disconnect/unplug  your 10/100 connection. Test apache webpages off-line. (no live streams)

3. Change the port number apache listens on and access localhost to the newly changed port number.
.
.
.
Solution;
Picture 1
Choose a port number,,,between 1023 to 65,535. Note: I personally chose 1050 for this demonstration.
Go to your "httpd.conf" file in apache directory, usually in /etc/.
Edit the "Listen" section and add new port number.
If you have several PC's in the same network, I recommend you include full address. (see img)

Picture 2
Restart Apache
Open the Fox (browser) and type your full local/private network address with ":new port#" at the end of url with out ".
.
Picture 3
PUSSY Power!


* listen.jpg (32.36 KB, 317x512 - viewed 42 times.)

* fox.jpg (245.39 KB, 1096x927 - viewed 38 times.)

* kittie.gif (39.1 KB, 150x104 - viewed 61 times.)
« Last Edit: April 01, 2008, 01:48:31 AM by DANHO » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!