Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am just a beginner in ip domain etc..I had two questions: if I have configuration on "same" Machine(win or lin) in host file like:

m/c name : IP(Example)

mac1.net.com 10.124.77.10 and mac2.net.com 10.124.77.11

We can say "different name and different IP on a single m/c". Will some application fail or will i get ipconflict if i/some application tries to access this m/c .

Secondly,If i have "IP:port-combination" 10.124.77.10:5650 occupied by some process XYZ ,will another process ABC be able to use 10.124.77.11:5650

share|improve this question
    
What does m/c stand for? –  Jeff Ferland May 22 '12 at 13:22
    
@JeffFerland Master of Ceremonies. Or mass divided by the speed of light. –  Bart Silverstrim May 22 '12 at 13:26
    
i guess it stands for machine/computer.. @shashank: Please elaborate... –  MichelZ May 22 '12 at 13:51
    
m/c = machine ,sorry for confusion –  shashank May 22 '12 at 14:24

2 Answers 2

We can say "different name and different IP on a single m/c". Will some application fail or will i get ipconflict if i/some application tries to access this m/c .

I don't know what m/c stands for, but having a machine with multiple addresses assigned to it is not uncommon.

Secondly,If i have "IP:port-combination" 10.124.77.10:5650 occupied by some process XYZ ,will another process ABC be able to use 10.124.77.11:5650

If your processes are bound to those specific interfaces, then yes. Processes can also bind to a wildcard of a given port on all interfaces, though. It depends on your configuration.

share|improve this answer
    
m/c = machine ,sorry for confusion –  shashank May 22 '12 at 14:26
    
ok... so by above discussion we can have: process1 running on 10.124.77.10:5056 ..... and process2 running on 10.124.77.11:5060..... (means, different name and different IP on a single computer/machine ) –  shashank May 22 '12 at 14:31
    
@shashank Yes, that is correct. –  Jeff Ferland May 22 '12 at 14:42
    
Many Thanks for reply.. :-) @ Jeff –  shashank May 22 '12 at 14:46
    
@shashank Don't forget to accept answers that you feel have addressed your question. Welcome to the site! –  Jeff Ferland May 22 '12 at 14:51
We can say "different name and different IP on a single m/c". 
Will some application fail or will i get ipconflict if i/some application tries to access this m/c .

No, this is a common scenario.

Secondly,If i have "IP:port-combination" 10.124.77.10:5650 occupied by some process XYZ ,will another process ABC be able to use 10.124.77.11:5650

This depends on your scenario. Usually, you are not able to use the same port twice to listen on with different applications. In Windows 7/2008 R2 there is a concept called Port Sharing (http://technet.microsoft.com/en-us/library/cc772001.aspx) which allows for several Communication Foundation applications to share a port. The same holds true for web servers, where different "web applications" can share a common port (usually http/80 or https/443)

share|improve this answer
    
Thanks..MichelZ!! that was nice info!! –  shashank May 22 '12 at 14:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.