Link to home
Start Free TrialLog in
Avatar of Nagarajhr
Nagarajhr

asked on

How can I bind a socket

Hello all,

How can I bind a socket to a particular IP address and port which is already binded by another socket?

My program is binding to POP port 110 and loopback address 127.0.0.1. It acts as a POP server. If exchange server is installed in the system, then the particular port and IP address is already binded so my program fails. Is there any alternative methods ?

Thank you,

Nagaraj
Avatar of MDarling
MDarling

Is it necessary to have exchange server running?

Can you not stop exchange server?

You can't have 2 servers bound to the same port.

Regards,
Mike.
ASKER CERTIFIED SOLUTION
Avatar of Roshan Davis
Roshan Davis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial