Solved

Multiple ip server

Posted on 2006-11-21
5
247 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

728 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now