Print Page | Close Window

How to change ports in IIS and Apache

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15769
Printed Date: 30 March 2026 at 5:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: How to change ports in IIS and Apache
Posted By: juannmj
Subject: How to change ports in IIS and Apache
Date Posted: 09 July 2005 at 9:03am
Thanks for the previous answer.
 
How do you set the ports for example a different port for IIS and A different one for Apache so that they run on the same machine?
 
I need example code for an ASP e-commerce and library systems to practice ASP. It has really fascinated me Pls Help.
 
Gracias mi amigo.Smile


-------------
Juan



Replies:
Posted By: dpyers
Date Posted: 09 July 2005 at 12:09pm
To change IIS to a new http port :
- IIS managment console : open the property page for your site (or the
default if you wish to change all of the sites) and switch
"TCP Port" to an other value.
- Web console : I just clicked through the Web-based config screens
until I found the spot for changing the port.
Restart all the IIS services

To change Apache to a new http port :
Open httpd.conf and look for two lines, one is "Listen 80" (or listen
YourIpAdress:80) and the other is "Port 80". Change them to a different
number, perhaps like this:
Port 8080
Listen 8080


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: pro_touch
Date Posted: 13 July 2005 at 2:53am
Can i setup my own smtp server through IIS ? if yes how many emails can i send at a time give me some info about this please.
 
M.H
NetFeelings.Com


Posted By: dpyers
Date Posted: 13 July 2005 at 4:35am
You need W2K or Win XP Pro. IIS is on the install cd along with ftp and smtp servers. Doesn't come with XP Home.

No real limits on email but your isp may have something to say about it. A lot of them block outgoing port 25 traffic unless you authenticate through them - using one of the email addresses they gave you.

Some isp's also limit the number of emails in an hour, number of cc's or bcc's, etc.

If you do any serious development it's a good idea to develop on your own pc instead of on a shared host. Makes things a lot smoother for people you share the host with. Also makes it relatively simple to keep development code separate from production/live code.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: pro_touch
Date Posted: 18 July 2005 at 8:52pm
Well it is a serious project all i was curious about was STMP but now i have done it.
Thanks for your answer.
 
you can visit my site  http://www.netfeelings.com - http://www.netfeelings.com and i would like to know if any link exchange available from you or anyone.
 
Thanks


Posted By: dpyers
Date Posted: 18 July 2005 at 9:22pm
Nice job on the site Thumbs Up

Link exchanges aren't what they used to be. Looks like google has started discounting them. Good chance they can hurt you more than help you if the link-from sites don't have very similar keywords in their text and some relevant text in the link itself.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: sh0rtbus
Date Posted: 20 July 2005 at 2:09am
Is it possible to run Apache on 2 computers running on a hub with the same internet connection?


Posted By: dpyers
Date Posted: 20 July 2005 at 10:21am
Dou you need to hit each apache server only from within your network or do you need to hit each one from the internet? Does the internet connection come into a router or does it go directly into one of the pc's with the other pc hanging off of it? Unix or windows?

Couple of ways to do it depending upon what you specifically need to do. broadbandreports has some good tutorials for various configurations.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: sh0rtbus
Date Posted: 20 July 2005 at 2:59pm
The Internet runs into the back of a microsoft router and we are both on wireless connections. And we want them to be seen on the internet.


Posted By: dpyers
Date Posted: 20 July 2005 at 3:14pm
I'd set up the router to forward port 80 traffic to one machine and port 8080 traffic to the other.
Then set up whatever service you use for dns to forward www.site1.xxx to your-router-ip-address and www.site2.xxx to  your-router-ip-address:8080
You'd have to configure site2 machine to listen for http requests on port 8080 instead of on port80



-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net