Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Multiple ip server

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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…
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.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

636 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