Re: question about ip allocation

2002-01-10 Thread Dmitriy Serebryakov

It seems to me what IIS have some bug or intend to work wrongly with Java.
If www service of IIS shutted down there are no problem to have working third party 
web servers (two instances of orion server) on same port but different IP addresses on 
same Ethernet interface.

Consider you options:
-use third perty webserver
-use different port and map port 80 on your firewall to web server's listening port on 
your computer.

Hope it will help.

- Original Message - 
From: Morten Raahede Knudsen [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 4:51 AM
Subject: Re: question about ip allocation


 
 Hi all
 
 Thanks for all your informative responses!
 
 Sorry but that is just not true.  You can have two processes each with
 their
 own address listening on the same port.  In fact you can have a process per
 address since the unique combination must be address and port, the kernel
 sorts all the rest out.  If you have netcat installed on your linux machine
 try the following nc -s ip1 -l -p 2000 in another terminal run nc -s
 ip2 -l -p 2000.  Both processes will be bound to port 2000 and you can
 connect to each as you would expect.
 
 The original poster's problem is likely that he does not have IIS properly
 configured to listen on only one address.
 
 This is very interesting I've downloaded netcat for Windows 2000. I can't
 execute those two commands you've suggested.
 
 On the second command it says:
 
 Can't grab 192.168.1.86:2000 with bind
 
 Either the two versions of netcat differ or maybe it doesn't work on
 Windows?
 
 Thanks in advance,
 
 Morten Raahede Knudsen
 
  Morten Raahede Knudsen [EMAIL PROTECTED]
  Programmør
 
  Bilpriser.dk
  Tolderlundsvej 16
  DK-5000 Odense C
 
  Telefon +45 6314 6065
  Telefax +45 6619 2164
 
  Ved du hvad din bil er værd? Besøg http://www.bilpriser.dk
 
 
 
 




Re: question about ip allocation

2002-01-09 Thread Morten Raahede Knudsen

Hi

Thanks for your answers!

try adding a host=x.x.x.x attribute to the web-site tag in
default-web-site.xml

I have tried that, it only oanswers on the given address, but it still seems
 to block for other servers on other ip addresses.

Try changing the port number that Orion accepts requests from 80 to a
different unused value e.g 2002.
So that the url will look something like http://127.0.0.1:2002

This will give problems for users with firewalls.

I'm still open for suggestions!

Thanks in advance,

Morten Raahede Knudsen


 Morten Raahede Knudsen [EMAIL PROTECTED]
 Programmør

 Bilpriser.dk
 Tolderlundsvej 16
 DK-5000 Odense C

 Telefon +45 6314 6065
 Telefax +45 6619 2164

 Ved du hvad din bil er værd? Besøg http://www.bilpriser.dk






Re: question about ip allocation

2002-01-09 Thread Maximilian Eberl

Your machine has 2 IP-adresses but only one port 80 !

No 2 servers can listen on 1 port - no matter how many network cards You
pull in.

You have to bind the IPs to different ports.
I am doing this on Linux but don't know how this is done on Windows.

Max

--

Maximilian Eberl
- developer -
netzdenker.de

http://www.netzdenker.de
mailto:[EMAIL PROTECTED]

Ludwigstrasse 2
D-67346 Speyer / Germany
tel: +49-6232-2602-02
fax: +49-6232-2602-05





RE: question about ip allocation

2002-01-09 Thread Justin Crosbie

Hi,

Two IP addresses - is this two network addresses, or is it two IP that point
to the same DNS entry? If you have two network addresses, on two separate
network cards, this should not happen. If they are actually pointing to the
same address, you will have to put Orion on a different port to IIS. What
you can do then is map an external address to the Orion ip/port to cater for
people outside your firewall.

HTH,
Justin

-Original Message-
From: Morten Raahede Knudsen [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2002 07:52
To: Orion-Interest
Subject: Re: question about ip allocation


Hi

Thanks for your answers!

try adding a host=x.x.x.x attribute to the web-site tag in
default-web-site.xml

I have tried that, it only oanswers on the given address, but it still seems
 to block for other servers on other ip addresses.

Try changing the port number that Orion accepts requests from 80 to a
different unused value e.g 2002.
So that the url will look something like http://127.0.0.1:2002

This will give problems for users with firewalls.

I'm still open for suggestions!

Thanks in advance,

Morten Raahede Knudsen


 Morten Raahede Knudsen [EMAIL PROTECTED]
 Programmør

 Bilpriser.dk
 Tolderlundsvej 16
 DK-5000 Odense C

 Telefon +45 6314 6065
 Telefax +45 6619 2164

 Ved du hvad din bil er værd? Besøg http://www.bilpriser.dk






Re: question about ip allocation

2002-01-09 Thread Jon White

Sorry but that is just not true.  You can have two processes each with their
own address listening on the same port.  In fact you can have a process per
address since the unique combination must be address and port, the kernel
sorts all the rest out.  If you have netcat installed on your linux machine
try the following nc -s ip1 -l -p 2000 in another terminal run nc -s
ip2 -l -p 2000.  Both processes will be bound to port 2000 and you can
connect to each as you would expect.

The original poster's problem is likely that he does not have IIS properly
configured to listen on only one address.

- Original Message -
From: Maximilian Eberl [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, January 09, 2002 5:27 AM
Subject: Re: question about ip allocation


 Your machine has 2 IP-adresses but only one port 80 !

 No 2 servers can listen on 1 port - no matter how many network cards You
 pull in.

 You have to bind the IPs to different ports.
 I am doing this on Linux but don't know how this is done on Windows.

 Max

 --

 Maximilian Eberl
 - developer -
 netzdenker.de

 http://www.netzdenker.de
 mailto:[EMAIL PROTECTED]

 Ludwigstrasse 2
 D-67346 Speyer / Germany
 tel: +49-6232-2602-02
 fax: +49-6232-2602-05







Re: question about ip allocation

2002-01-09 Thread Tim Endres

That is not true. Every ethernet interface can listen on its own port 80.
This can even be done with virtual interfaces which share the same
physical network card. Ports are a abstraction implemented at the driver
level and based on header information in each packet.

tim.

 Your machine has 2 IP-adresses but only one port 80 !
 
 No 2 servers can listen on 1 port - no matter how many network cards You
 pull in.
 
 You have to bind the IPs to different ports.
 I am doing this on Linux but don't know how this is done on Windows.
 
 Max
 
 --
 
 Maximilian Eberl
 - developer -
 netzdenker.de
 
 http://www.netzdenker.de
 mailto:[EMAIL PROTECTED]
 
 Ludwigstrasse 2
 D-67346 Speyer / Germany
 tel: +49-6232-2602-02
 fax: +49-6232-2602-05





RE: question about ip allocation

2002-01-09 Thread Jarrod Roberson

this is incorrect, they is a port 80 for each IP address.
As long as the clients can access each IP address, they can get to
either port 80.
Now Orion may be listening to ALL ip addresses on port 80 making it
look like there is only one
port 80. But each interface as a full compliment of ports.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of 
 Maximilian Eberl
 Sent: Wednesday, January 09, 2002 5:27 AM
 To: Orion-Interest
 Subject: Re: question about ip allocation
 
 
 Your machine has 2 IP-adresses but only one port 80 !
 
 No 2 servers can listen on 1 port - no matter how many 
 network cards You
 pull in.
 
 You have to bind the IPs to different ports.
 I am doing this on Linux but don't know how this is done on Windows.
 
 Max
 
 --
 
 Maximilian Eberl
 - developer -
 netzdenker.de
 
http://www.netzdenker.de
mailto:[EMAIL PROTECTED]

Ludwigstrasse 2
D-67346 Speyer / Germany
tel: +49-6232-2602-02
fax: +49-6232-2602-05








RE: question about ip allocation

2002-01-09 Thread john_haasbeek


On windows (NT) you can bind multiple IP addresses to a single NIC under
the Advanced tab on the TCP/IP protocol properties dialog.  Of course,
you'll have to reboot...

John H.




Jarrod Roberson [EMAIL PROTECTED]@orionserver.com on 01/09/2002
11:06:29 AM

Please respond to Orion-Interest [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Orion-Interest [EMAIL PROTECTED]
cc:

Subject:  RE: question about ip allocation


this is incorrect, they is a port 80 for each IP address.
As long as the clients can access each IP address, they can get to
either port 80.
Now Orion may be listening to ALL ip addresses on port 80 making it
look like there is only one
port 80. But each interface as a full compliment of ports.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of
 Maximilian Eberl
 Sent: Wednesday, January 09, 2002 5:27 AM
 To: Orion-Interest
 Subject: Re: question about ip allocation


 Your machine has 2 IP-adresses but only one port 80 !

 No 2 servers can listen on 1 port - no matter how many
 network cards You
 pull in.

 You have to bind the IPs to different ports.
 I am doing this on Linux but don't know how this is done on Windows.

 Max

 --

 Maximilian Eberl
 - developer -
 netzdenker.de

http://www.netzdenker.de
mailto:[EMAIL PROTECTED]

Ludwigstrasse 2
D-67346 Speyer / Germany
tel: +49-6232-2602-02
fax: +49-6232-2602-05












Re: question about ip allocation

2002-01-08 Thread Graham Bennett

On Tue, Jan 08, 2002 at 04:36:28PM +0100, Morten Raahede Knudsen wrote:
 I'm sorry if this is a newbie question, but I haven't found the answer
 in the archive.  My machine has two IP addresses.  In my web-site.xml
 I have specifically set Orion to use one of those ip addresses.

try adding a host=x.x.x.x attribute to the web-site tag in
default-web-site.xml

cheers,

-- 
Graham Bennett
[EMAIL PROTECTED]  ICQ: 17566658




Re: question about ip allocation

2002-01-08 Thread Jaikoo

Try changing the port number that Orion accepts requests from 80 to a
different unused value e.g 2002.
So that the url will look something like http://127.0.0.1:2002

Hope this helps...

Jaikoo

- Original Message -
From: Morten Raahede Knudsen [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, January 08, 2002 3:36 PM
Subject: question about ip allocation


Hi

I'm sorry if this is a newbie question, but I haven't found the answer in
the archive.
My machine has two IP addresses.
In my web-site.xml I have specifically set Orion to use one of those ip
addresses.
It only answers on that specific ip address.
However, when another server (IIS) tries to use the other IP adress on the
same port number (80),
IIS refuses to start as it replies (Address already in use)

Does anyone have a solution?

Thanks in advance
Morten Raahede Knudsen


 Morten Raahede Knudsen [EMAIL PROTECTED]
 Programmør

 Bilpriser.dk
 Tolderlundsvej 16
 DK-5000 Odense C

 Telefon +45 6314 6065
 Telefax +45 6619 2164

 Ved du hvad din bil er værd? Besøg http://www.bilpriser.dk