?
Solved

Multiple ip server

Posted on 2006-11-21
5
Medium Priority
?
261 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
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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 …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month16 days, 11 hours left to enroll

862 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