473,842 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS on a single IP (coexisting with Apache)

4 New Member
Hi
I am an applications programmer with limited knowledge of system configuration.
I have two development computers, XP Pro (IP 192.168.1.3 and 192.168.1.4) on a LAN behind a router (IP 192.168.1.1) which connects to broadband internet.
On one of my development computers I want to setup both IIS (running MS Access, MS SQL and ASP) and Apache (running MySQL and PHP). Both the web local servers are for local development use and need not (at this stage anyway) be seen by the world outside my router. I have downloaded the Support Tools and read numerous forum threads on the subject but still run into problems. My first objective is to run IIS on a single IP address (as opposed to all) so that I can use other IP addresses for Apache websites also using port 80. There are a number of things I don’t understand:
1. What IP address do I use? Can I pick any unused address in the local range 192.168.xxx.yyy ?
2. localhost is supposed to have IP address 127.0.0.1 . Where is that determined and how does that relate to the address I select below (4)?
3. When I browse for http://localhost do I always get IIS? In what way does localhost in IIS differ from localhost in Apache?
4. I picked 192.168.1.14 for IIS (it refused 127.0.0.1) and set it up to port 80 in Administrative Tools --> IIS.
5. I also ran

httpcfg delete iplisten –i 0.0.0.0
httpcfg set iplisten –i 192.168.1.14:80
net stop http
net start http
iisreset

Then when I run

httpcfg query iplisten

it displays the one and only 192.168.1.14:80 as it should.

But it does not work even after restart. The localhost website stops (“Internet Explorer cannot display the website…”) and when I try to start it I get error 0x8ffe2740 which indicates an addressing conflict. Where is this addressing conflict? Who is in conflict with whom? (I have deselected port 80 in Skype and also turned Skype off but I see (below) that Skype is still listening on 3 ports. Why?)

6. When I run
netstat –aon
I get

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 780
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 1840
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1486 0.0.0.0:0 LISTENING 1264
TCP 127.0.0.1:1032 0.0.0.0:0 LISTENING 3768
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1936
TCP 127.0.0.1:10110 0.0.0.0:0 LISTENING 1900
TCP 192.168.1.4:80 0.0.0.0:0 LISTENING 1840
TCP 192.168.1.4:139 0.0.0.0:0 LISTENING 4
TCP 192.168.1.4:121 4 64.250.227.20:8 0 CLOSE_WAIT 3992
UDP 0.0.0.0:161 *:* 220
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 572
UDP 0.0.0.0:1025 *:* 1936
UDP 0.0.0.0:1027 *:* 892
UDP 0.0.0.0:1284 *:* 892
UDP 0.0.0.0:4500 *:* 572
UDP 127.0.0.1:123 *:* 844
UDP 127.0.0.1:1274 *:* 3248
UDP 127.0.0.1:1398 *:* 4076
UDP 127.0.0.1:1463 *:* 2080
UDP 192.168.1.4:123 *:* 844
UDP 192.168.1.4:137 *:* 4
UDP 192.168.1.4:138 *:* 4
UDP 192.168.1.4:535 3 *:* 1936

I don’t understand what this means. What are all these services running in the background? Why is my selected web server address not there?

When I have resolved the above I will make another attempt (the first one failed) to install Apache. Could somebody help me over the first hurdle?

Jan
Mar 26 '08 #1
4 9079
kenobewan
4,871 Recognized Expert Specialist
If you having this much trouble I suggest finding a good resource first. Read the chapter on security first. Otherwise you may be left rueing that a little knowledge is a dangerous thing ;).
Mar 26 '08 #2
jankristensson
4 New Member
Thank you kenobewan, but that was not very helpful. I have read quite a lot but it is not my intent to become an expert in this field. It would be very helpful if you just briefly answered the questions I posed.
Jan
Mar 26 '08 #3
kenobewan
4,871 Recognized Expert Specialist
Thank you kenobewan, but that was not very helpful. I have read quite a lot but it is not my intent to become an expert in this field. It would be very helpful if you just briefly answered the questions I posed.
Jan
Here is an article to get you started:
How to set up IIS to host your website
Mar 27 '08 #4
jankristensson
4 New Member
Thank you again kenobewan. I have already read that article and many others and also previously successfully set up IIS and created a number of ASP applications. It was only when I wanted to expand to Apache/PHP I ran into problems. IIS by default listens to port 80 on ALL IP addresses. In order to add another server I have to either use a different port for this server or still use port 80 and use specific IP addresses for each server. When I try to do the latter (which is the recommended way) IIS quits working. Why? I was hoping that the answers to my initial questions would clarify that.
Jan
Mar 27 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
28012
by: Grant Collins | last post by:
Hi I am writing a web based application as part of a small project that I am undertaking using servlets beans and jsp. I already have one servlet - bean - jsp page working and I have written another servlet - bean - jsp but I am hitting an error from tomcat that I have no idea why it is failing. I am getting an org.apache.jasper.JasperException: with the root cause being java.lang.ClassNotFoundException:
1
6923
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
20
6652
by: Keith G. Murphy | last post by:
I'm trying to get a feel for what most people are doing or consider best practice. Given a mod_perl application talking to a PostgreSQL database on the same host, where different users are logging onto the web server using LDAP for authentication, do most people 1) have the web server connecting to the database using its own user account (possibly through ident), and controlling access to different database entities strictly through...
19
5265
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the application under heavy load. When increasing the number of requests, all my memory is filled, and the Linux server begins to cache and remains frozen. ab -n 100 -c 10 http://localsite/testscript
5
2172
by: Aziz | last post by:
Hi, I've recently contacted technical service of a web hosting company and asked them wheter or not they're gonna upgrade to PHP5 and MySQL5. Here's a quote from their response which confused me a little: "As php5 and mysql5 are still beta versions we don't install beta versions on production servers due to secure reasons, we install only current working versions on production servers"
5
2215
by: Justin L. Kennedy | last post by:
Our current webserver is a Linux Apache 2 engine running several websites in separate virtual hosts. All of our websites were written for PHP 4, and thus is the version of PHP running. But we are looking to host a copy of MediaWiki which will start to require PHP 5 during the next major release. Since our existing sites are much to large to test and update to run under PHP 5, I want to investigate whether we can install PHP 5 and...
3
17132
by: amanjsingh | last post by:
Hi, I am trying to implement Java Web Service using Apache Axis2 and Eclipse as a tool. I have created the basic code and deployed the service using various eclipse plugin but when I try to invoke the service using client stub, I get this error... Exception in thread "main" java.lang.Error: Unresolved compilation problems: org.apache cannot be resolved to a type org.apache cannot be resolved to a type org.apache cannot be resolved to a...
0
3413
rsrinivasan
by: rsrinivasan | last post by:
Hi All, When i run my JSP program, ihave the following exception. How i solve this problem? HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message
4
1577
by: grant | last post by:
I've just installed Office 2007 and am coming to terms with the drastically different menu structure! One problem I have is alternating between different version of Office applications and getting that bl...dy paint in the ...."wait while Office is configured " message. There is a registry fix for Word I found at http://word2007bible.herbtyson.com/2007/04/15/word-2007-and-word-2003-coexisting/
0
9870
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9715
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7854
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7030
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5695
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4499
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4087
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.