Installation on same port number

Hello,
Suppose we have a host with two or more alias.
Every alias have a different IP address.
We have a Directory Server running on 389 installed on server ( alias A ).
When I try to install a new Directory Server over the same port on the same server ( using alias B ) the installation program says "the port is in use".
Is it possible to install Directory Server over the same port number ( 389 ) on the same server ( alias B ) without problems ?
Thanks,
silvio

Silvio,
you can do it by:
- installing first instance, bind it to IP address assigned
to alias A by changing attribute nsslapd-listenhost (by
default this attribute is empty and DS binds to all the IP
addresses of the machine) and restarting the instance;
- create the second instance using the same port (389
or whatever you like) , then changing its sslapd-listenhost
attribute to alias B and finally restarting it.
Hope it helps ; for any other info, feel free to contact me at
[email protected] (you probably being Italian like me ...)
Ciao,
Michele Montagni

Similar Messages

  • Several process listening to the same port number

    I hope I am in the right form (it's the third one I am trying).
    I have server/client application, one server that handles a lot of clients. In general when ever a client approach the server, the server create new process (fork()) that handle the client request.
    I would like to know if there is a problem that several processes (parent and several child processes) are listening to the same port number, is it better to create thread that would handle the client request, instead of creating a child process?
    To better understand the problem I create very simple client and server application.
    This is a part of the server application:
    The server creates a socket, bind to this socket and then listen to this socket.
    After that in a while (1) loop he waits for accept:
    int sockclient = accept(sockId,(struct sockaddr*)(&client_addr), &addrLen);
    When the server get a sockclient (client ask for service) he create new process (fork()) that handle the client request.
    struct sockaddr_in addr, client_addr;
    bzero(&addr,sizeof(struct sockaddr_in));
    addr.sin_family = PF_INET;
    addr.sin_port = 8865;
    bcopy(ent->h_addr_list[0],&(addr.sin_addr), ent->h_length);
    // bind
    bind(sockId,(struct sockaddr*)(&addr), sizeof( struct sockaddr_in));
    If it would help I can add the all code.
    If you knows about articles that talked about this subject It might help too (I am talking about advantages and disadvantages of thread against process but regardless of sockets).

    You might look at this article
    http://httpd.apache.org/docs-2.1/misc/perf-tuning.html
    under the section "accept Serialization - multiple sockets".

  • Listener's have same port number

    Friends,
    I have two listener's configured in listener.ora file with same port number .Is it any problem if i gave the same port number?Please advise me.

    Yes, it is a problem if host is the same for both.
    If You have two listeners with same port number and on same machine You will not be able to start them both, because port number will be already in use. One will start, the second one will through an error.
    Change port number for one of them.

  • Two instance with same port number in one machine.

    How can I config one machine(one IP) to listen to two different URLs with same port? (http://www.abc.com & http://www.xyz.com)??

    What you are looking for is a feature called virtual servers. Lots of information in Chapter 13 of the admin guide.
    The key is that there is only one server instance. (One available port pretty much implies one server instance.) But the virtual server feature allows you to specifiy different "virtual" servers based on the URL characteristics. (such as domain name)

  • How to set up NAT for two servers using same port with ASDM ASA 5505

    Hi there,
    We have a new installation of a ASA 5505 and are trying to get some NAT issues straightened out. Here is the scenario: On our internal network, we have two servers running Filemaker Server, a relational database server that clients connect with using port 5003. Our goal is to be able to allow users from the outside to access either of these servers as needed. I know how to set up a simple static NAT rule and matching Access rule in ASDM which would be fine for a case in which only one server using a given port is running on a network, but for simple static rules I seem to be blocked from entering a different translated port number from the orginal port number, which becomes a problem when two servers we need to access from the outside are running software using the same port number.
    What is the simplest way to address this need? I am guessing that I need to set up a scenario like this, where port 5004 (or any arbitrarily choosen unused port, can be used to access the second server:
    Outside user enters   FQDN:5004  and this translates to Database server # 1 as   192.168.1.40:5003
    and
    Outside user enters   FQDN:5003  and this translates to Database server # 1 as   192.168.1.38:5003
    If so, what is the easist way to get this done? Or is there a better what to handle this scenario?
    Thanks in advance,
    James

    I would create two objects and use object NAT
    object network Obj_5004
    host 192.168.1.40
    object network Obj_5004
    nat (inside,outside) static service tcp 5003 5004
    object network Obj_5003
    host 192.168.1.38
    object network Obj_5003
    nat (inside,outside) static service tcp 5003 5003
    Of course you will need to open your outside interface for tcp ports 5003 and 5004 to make this happen

  • Two web servers cant use same port forwarding rule???

    I have two web servers, each configured to respond to http reqests on port 80.  I use NoIP service to map a domain name to my router. I create a port forwarding assignment for Server A by selecting the WebServer rule in the port forwarding rule table.  All is fine.  For Server B, I select the same Webserver rule and the router says there is a conflict.
    I don't understand why.  I think the router has enough information to route a http request for Server B by knowing its MAC address, which is different than Server A MAC address.
    What am I missing here???
    I was able to do this on my previous router with DD-WRT.....
    So it would appear the way to resolve this is to assign a different port address to Server B???
    grrrrrrrrrr I hate this router

    You shouldn't have been able to do that on any router.  You have to change the listening port of server 2, to 8080 or something like that, or make one a secure server and run it over 443
    That is a known issue with port forwarding
    Problem #8:
    Same Port in Multiple Rules
    There are some routers such as Linksys, D-Link and many others that do not do any checks if a port is already in another port forwarding rule. A port can only be forwarded to one Computer/IP at a time. So when there are multiples of the same port number the port forwarding rule will not work.
    Here is an example.
    As you can see port 2350 is in 2 rules. The 1st one points to a different IP than that of the 2nd rule. So the router will honor the 1st rule and the 2nd port forwarding rule to port 2350 fails.
    By removing the 1st rule the 2nd one will now work.

  • Creating a serverSocket while sonnecting to a socket on the same port

    I want to make a file transfer application for multiple clients, there will not be a server that users will connect to, the application serves as client AND server, every client will have a serversocket object listen for new connections (it will recieve a connection when someone wants to send a file to them) and I will also have a socket object that will connect to a client when I want to send a file to them.
    Is it possible to run all these connections on a single port? Or will there be a conflict?

    836981 wrote:
    I want to make a file transfer application for multiple clients, there will not be a server that users will connect to, the application serves as client AND server, every client will have a serversocket object listen for new connections (it will receive a connection when someone wants to send a file to them)Read up on peer-to-peer.
    and I will also have a socket object that will connect to a client when I want to send a file to them.A new socket for each outbound connection.
    Is it possible to run all these connections on a single port?Yes. A serversocket listens for connections to a specific port number, it can accept many connections.
    Or will there be a conflict?No. Your outbound connections will not use the same port number locally.
    You are more likely to encounter problems with clients (peers) behind NAT routers.

  • Port number - Clustering

              Folks,
              I have 3 UNIX machines with 3 Managed WebLogic servers.If I want to do clustering,
              is it necessary to have the same port number for these 3 managed weblogic servers?
              MachineA:30000, MachineB:30000, MachineB:30000
              what happens if I give different port number for the above managed server instances
              and try to do WL clustering?
              Thanks
              - Robot
              

              "Majic Robot" <[email protected]> wrote:
              >
              >Folks,
              >
              >I have 3 UNIX machines with 3 Managed WebLogic servers.If I want to do
              >clustering,
              >is it necessary to have the same port number for these 3 managed weblogic
              >servers?
              >
              >MachineA:30000, MachineB:30000, MachineB:30000
              >
              >what happens if I give different port number for the above managed server
              >instances
              >and try to do WL clustering?
              >
              >Thanks
              >- Robot
              You can use the same or different port numbers. The key to providing managed server
              listening addresses is to ensure unique IPaddress:port combination for each managed
              server.
              Regards,
              Rob
              

  • 2 Webdispatchers same host same port 443

    Is it possible to 2 Webdispatcher instances on the same unix host both being able to respond to their own requests on the sap port either 80 or 443? 
    I am having trouble having 2 WDs workong on the same port, but normal netweaver aka ECC6 can both listen on the same port (8000) with the host= option set.
    is it possible to have WD do this (noting the port in question is 443 or 80 so I had to set the EXTBIND option).
    Thanks
    Tony

    Hi,
    Did you installed webdispatchers on a single host with comman hostname or with virutal hostname.
    2 different application on single host with same port number in following cases.
    1. There should be 2 ip address mapped on single host ( This can be done by you system team )
    2. Both the webdispatcher should be installed with 2 different virutal hostname
    ( every virtual hostname is bind on different ip )
    Port depend upon ip address ., it mean port 443 can run on differently on both the ip address .
    Any query .. pls reply
    Thanks
    Anil

  • Creating multiple web apps in 443 port number

    hi all,
     would like to know the speciality of 443 port number.can we create multiple web applns on this ?
    assume i have a  web app running on 443 called 
    https://myportal.company.com   [  intranet ] can i create a  another web app on this same port, like
    https://mysites.company.com [  its a mysite web appln ]  and can we create an all different, Internet web appln on this same port ?
    if yes, what are the steps to achieve this.
    and curious to know why MSFT has designed like this.
    help is appreciated!

    Any Web App you create must be differentiated from other Web Apps in one of 3 ways.  It can use a custom IP address, a custom port number or a host header.  In your example you are already using the same port number and I assume you aren't using
    different IP addresses since that requires a fair amount of behind the scenes work.  So that would leave creating the two web apps with different host headers.  The problem with this approach is that Apps in SharePoint require at least one web app
    in the farm with NO host header.  So if https://myportal.company.com was created using no host header then https://mysites.company.com must be created using a host header.  Any additional Web apps using 443 will also need to be created with host
    headers.  Apps will then all run off the MyPortal web app.  You can specify the host header for the web app when creating the web app.  Everything else is normal.
    To answer your question of why it is designed this way.  This is the way IIS server works and really has nothing to do with SharePoint.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • I've tried to install a downloaded version of cs5 master collection using the same serial number i used by installing it with the installation dvds and the error message says it's an invalid serial number

    as my adobe cs 5 master collections keeps having icc profiles and visualization issues, i've tried to reinstall the hole package. my mac book pro dvd reader is broken, so i downloaded from the adobe website a master collection and tried to install it with the serial number i used in the former installation but a error messages says that it's an invalid serial number.
    i've already tried to install from the dvd's in another mac and it worked, with the same serial number, so i'm out of solutions.
    any thoughts that may help me?

    Si precisases de qué lugar de Adobe o de otro sitio has descargado....
    Si indicases el nombre del archivo descargado,....
    Respecto a la instalación, repito la lección de ruta es un paso, que puede pasarse por alto, aunque no sé si la instalación convencional reconoce una red entre varios equipos.
    No hay ningun mensaje que indique que descargas una versión u otra, tampoco hay o sale ningun mensaje cuando instalas un programa en chino, eso si, al introducir el no. de serie (que no es el adquirido para la versión en chino) te dice que no es válido y punto. No más explicaciones.
    Asi que por favor explicanos lo preguntado al rincipio, o vuleve a descargar la versión correcta, en el idioma correcto y desde un lugar oficial de Adobe.
    Creo que Adobe te puede facilitar esa descarga a traves de la web "Licensing" con unas claves que te facilitarán si logras ponerte en contacto directo con ellos en tu país, (que tampoco sabemos cúal es). Suerte.

  • Changing port number for mobile server after installation

    hi,
    i am using windows 2003 server release 2,oracle 11g database R2 and oracle database lite 10g R3. i have installed mobile server successfully with port 80 but when i start the mobile server i receive an error stating that the port 80 is already in use. Now i need to change the port number of the mobile server. can anyone tell me the solution.

    If the Oracle Lite installation type is STANDALONE , then to change the Olite port number to any other available free port number , you have to edit the file default-web-site.xml or http-web-site.xml file present in $OLITE_HOME/mobile_oc4j/j2ee/mobileserver/config directory.
    You can change the port any time in http-web-site.xml file and bounce the services, the new port will take effect.

  • DOES EIGRP USE AS NUMBER/process number as it's PORT NUMBER between the routers in the same AS/group?

    in this posthttps://supportforums.cisco.com/discussion/9805551/eigrp-port-number  there is an answer which seems a little weird, the question asks about the EIGRP port number, and someone answers that "The port number is the EIGRP AS."
    I goggled all over the net but could not find any single clue about it!! is that really so, I mean DOES EIGRP USE AS NUMBER AS PORT NUMBER?
    I know stuff about routing, EIGRP,RTP and so on, please don't state the obvious and just give some link to some document on Cisco, about this subject.
    BTW there's a link under the mentioned post but it doesn't load, I don't know, anyway thank you

    in this posthttps://supportforums.cisco.com/discussion/9805551/eigrp-port-number  there is an answer which seems a little weird, the question asks about the EIGRP port number, and someone answers that "The port number is the EIGRP AS."
    I goggled all over the net but could not find any single clue about it!! is that really so, I mean DOES EIGRP USE AS NUMBER AS PORT NUMBER?
    I know stuff about routing, EIGRP,RTP and so on, please don't state the obvious and just give some link to some document on Cisco, about this subject.
    BTW there's a link under the mentioned post but it doesn't load, I don't know, anyway thank you

  • HTTP Installation & Port Number Questions?

    Hi All,
    I am trying to install the HTTP server from the companion cd I only select the HTTP server to be installed, is this correct??
    When configuring the DAD file for the apex 3.1, what is the port number that I have to write is it 7777 or 8080?
    Regards

    Hello,
    The default is 7777, but you can verify that by opening the httpd.conf file in your Apache directory.
    You'll see a line with Port there.
    Also when you run for ex. http://localhost:7777/ do you see Apache? If not it's probably using a different port.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

Maybe you are looking for