473,386 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 1502

"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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...

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.