473,513 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Services running

I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure
which it is using or if they can both run simultaneously.

Any ideas?
Nov 18 '05 #1
10 1509

"Brian" <br******************@hotmail.com> wrote in message
news:c5*************@ID-188416.news.uni-berlin.de...
I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure which it is using or if they can both run simultaneously.

Any ideas?

You can use both at once, as far as I know, but you have to define different
ports. Example, run IIS on port 80, and Apache on some other port. Otherwise
HTTP requests come in on port 80 and conflicting services would try to
answer the request... I doubt it'd work (or even let you).
Nov 18 '05 #2

"Brian" <br******************@hotmail.com> wrote in message
news:c5*************@ID-188416.news.uni-berlin.de...
I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure which it is using or if they can both run simultaneously.

Any ideas?

You can use both at once, as far as I know, but you have to define different
ports. Example, run IIS on port 80, and Apache on some other port. Otherwise
HTTP requests come in on port 80 and conflicting services would try to
answer the request... I doubt it'd work (or even let you).
Nov 18 '05 #3
You can use both at once, as far as I know, but you have to define different ports. Example, run IIS on port 80, and Apache on some other port. Otherwise HTTP requests come in on port 80 and conflicting services would try to
answer the request... I doubt it'd work (or even let you).


Many thanks, how do you test which ports are being used for which server?
Nov 18 '05 #4
You can use both at once, as far as I know, but you have to define different ports. Example, run IIS on port 80, and Apache on some other port. Otherwise HTTP requests come in on port 80 and conflicting services would try to
answer the request... I doubt it'd work (or even let you).


Many thanks, how do you test which ports are being used for which server?
Nov 18 '05 #5
Well, they shouldn't be able to both be listening on port 80, unless you've configured one of the servers to do so. My guess, is that 1 actually isn't running, and possibly reported an error in the event log?

Matt Hawley, MCAD .NET
http://www.eworldui.net

I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure
which it is using or if they can both run simultaneously.

Any ideas?

Nov 18 '05 #6
Well, they shouldn't be able to both be listening on port 80, unless you've configured one of the servers to do so. My guess, is that 1 actually isn't running, and possibly reported an error in the event log?

Matt Hawley, MCAD .NET
http://www.eworldui.net

I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure
which it is using or if they can both run simultaneously.

Any ideas?

Nov 18 '05 #7
On Thu, 8 Apr 2004 14:56:05 +0100, Brian wrote:
I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure
which it is using or if they can both run simultaneously.

Any ideas?


I don't know about Apache. In IIS manager, right click on the default
site->properties. The website tab page will list the port.

The first web server installed will grab port 80 first.
Put an asp page (since asp is on by default in IIS 5.1-) in each web server
folder, the one that executes properly is IIS.

asp sample page which is a one liner:
<% response.write "This is a test" %>
--
Karim
http://www.cheapesthosting.com/webmastertoolbox - Free Resources for
Webmasters
Nov 18 '05 #8
On Thu, 8 Apr 2004 14:56:05 +0100, Brian wrote:
I'm not sure if I have selected the correct newsgroups here but is there a
simple was to test which servers are running?

I have apache and IIS installed and if I run http://localhost I am not sure
which it is using or if they can both run simultaneously.

Any ideas?


I don't know about Apache. In IIS manager, right click on the default
site->properties. The website tab page will list the port.

The first web server installed will grab port 80 first.
Put an asp page (since asp is on by default in IIS 5.1-) in each web server
folder, the one that executes properly is IIS.

asp sample page which is a one liner:
<% response.write "This is a test" %>
--
Karim
http://www.cheapesthosting.com/webmastertoolbox - Free Resources for
Webmasters
Nov 18 '05 #9
"Brian" wrote in message
news:c5*************@ID-188416.news.uni-berlin.de...
: I'm not sure if I have selected the correct newsgroups here but is there a
: simple was to test which servers are running?
:
: I have apache and IIS installed and if I run http://localhost I am not
sure
: which it is using or if they can both run simultaneously.

From a command-line:
telnet localhost 80
GET / HTTP/1.0
You may have to press ENTER twice and text must be UPPERCASE.
You'll get something like this plus probably the default page:

HTTP/1.1 200 OK
Date: Fri, 09 Apr 2004 10:28:45 GMT
Server: Apache
Last-Modified: Mon, 18 Aug 2003 19:59:03 GMT
ETag: "53c233-17d-3f413007"
Accept-Ranges: bytes
Content-Length: 381
Connection: close
Content-Type: text/html

or

HTTP/1.1 403 Access Forbidden
Server: Microsoft-IIS/5.0
Date: Fri, 09 Apr 2004 10:29:59 GMT
Content-Type: text/html
Content-Length: 172

If you know the page you're trying to load, you can do it like this:

GET /default.asp HTTP/1.1
Host: www.domain.com

This will also show the default page but don't forget to hit enter twice and
domain.com is a variable.

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Nov 18 '05 #10
"Brian" wrote in message
news:c5*************@ID-188416.news.uni-berlin.de...
: I'm not sure if I have selected the correct newsgroups here but is there a
: simple was to test which servers are running?
:
: I have apache and IIS installed and if I run http://localhost I am not
sure
: which it is using or if they can both run simultaneously.

From a command-line:
telnet localhost 80
GET / HTTP/1.0
You may have to press ENTER twice and text must be UPPERCASE.
You'll get something like this plus probably the default page:

HTTP/1.1 200 OK
Date: Fri, 09 Apr 2004 10:28:45 GMT
Server: Apache
Last-Modified: Mon, 18 Aug 2003 19:59:03 GMT
ETag: "53c233-17d-3f413007"
Accept-Ranges: bytes
Content-Length: 381
Connection: close
Content-Type: text/html

or

HTTP/1.1 403 Access Forbidden
Server: Microsoft-IIS/5.0
Date: Fri, 09 Apr 2004 10:29:59 GMT
Content-Type: text/html
Content-Length: 172

If you know the page you're trying to load, you can do it like this:

GET /default.asp HTTP/1.1
Host: www.domain.com

This will also show the default page but don't forget to hit enter twice and
domain.com is a variable.

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Nov 18 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2731
by: Woody Splawn | last post by:
I am asking this question here because I asked this question in the Reporting Services Newsgroup and did not get an answer. Does anyone know if Reporting Services is intended to work in a...
4
437
by: Woody Splawn | last post by:
I am asking this question here because I asked this question in the Reporting Services Newsgroup and did not get an answer. Does anyone know if Reporting Services is intended to work in a...
2
5911
by: Chris Podmore | last post by:
I don't know if this is the correct newsgroup but I couldn't find one for Windows Services Is it possible to check that a Windows Service is still running from another machine The idea being a...
2
2055
by: sdstraub | last post by:
I have created 5 services in my project, in the 1st service I set servicestorun = array of all 5 services, I have a project installer with 5 service installers, one for each service. I have code...
4
10993
by: aj | last post by:
SQL Server 205 SP2 64-bit, Windows Server 2003 R2 64-bit I have SQLS happily running, but when I run Configuration Manager (I need to change MSSQLSERVER startup param properties), the only entry...
0
7260
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,...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7537
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7099
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7525
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...
1
5086
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...
0
3233
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.