?
Solved

Multiple ip server

Posted on 2006-11-21
5
Medium Priority
?
259 Views
Last Modified: 2010-03-17
What if I run my application server on say 5556 port and my machine has 2 ips (2 network interface card). On which ip the 5556 port will bind?

Platform needs some ip to connect to.

How different server reacts in the same situation?

Thanks  
0
Comment
Question by:Shabzt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Lopo Pegado
ID: 17995091
Hi,

In IIS you can force the IP wich is used for a WebAplication.


Open the IIS console, right click on the site  (ie Default web Site) of the aplication and choose properties.

On Web Site Tab you have Web site identification on top.

The second box (Ip address by default have (All Unassigned).

If you click on the drop box button you can see the ip's of the machine, just choose the one you want.


Hope it Helps


Best Regards

Botas
0
 

Author Comment

by:Shabzt
ID: 18001483
Hi,
Thanks for your mail

What about other App servers. Or if you develop your own server, how it will react in the same scenario
0
 
LVL 3

Expert Comment

by:Lopo Pegado
ID: 18001524
Hi,

For default, the servers respond to all netword cards they have.

If you wanna to force only to one IP, the best to do its use DNS and use the name to force an IP, If you dont have a DNS Server or the hosts file.

IE

Server001  - 3 Networks cards
IP1   192.168.7.5 (Administration)
IP2   192.168.1.4 (Aplication A on port 80)
IP3   192.168.3.2 (Aplication B on port 80)

DNS or Host Files of client

Server001 192.168.7.5
AplicationA 192.168.1.4
AplicationB 192.168.3.2



0
 

Author Comment

by:Shabzt
ID: 18001563
Hi,

1. So it means if I have one server application running on port 5556 and that machine has two ips, for example, IP1 and IP2, my client application can connect to any ip i.e. IP1:5556 or IP2:5556 by default.

2. Can I run 2 server applications on same port but on different ips (same machine) i.e. application1 on IP1:5556 and application2 on IP2:5556
0
 
LVL 3

Accepted Solution

by:
Lopo Pegado earned 2000 total points
ID: 18002333
Hi,

1. Yes, true

2. With IIS you can do that in Apache its possible to but i dont have here instaled atm.
I dont know about other Aplication Servers, but if you specify, i can check it.

Hope it Helps

Best Regards

Botas
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question