Listener port number

hi,
what is the range of port number of listener in 10g and 11g.
in google it has show only default port number.
thank you

user8647245 wrote:
what is the range of port number of listener in 10g and 11g.Default Listener port is 1521. Registered port for the Oracle Listener with IANA (Internet Assigned Numbers Authority) is 1527 and not 1521.
You can however, in theory, use any port. In practice though, it is not that simple. And can be kind of stupid not to use the default or registered ports.
Ports 0 to 1023 are well known ports. These should never be used by any other applications like the Listener. On many kernels, only a root process can open a well known port.
Ports 1024 through 49151 are (IANA) registered ports. See RFC4340 for the registration process details. And this is where the Oracle Listener is registered as port 1527 - despite Oracle for many years using 1521 instead.
Generally speaking, keep to the default or use the the registered port. Do not arbitrarily change port numbers.
Ports 49152 through 65535 are private or dynamic ports. You should not ever use a port in this range as a listening end point for an application.
Okay, so why use specific ports for specific applications?
It comes down to network management and network performance.
Use arbitrary ports, and you mess sophisticated network designs horrible around. You can cause a negative network impact for your application due to how QoS (quality of service) are implemented. You can run into firewalls. You are not supportting the network folk in managing the underlying network infrastructure properly, enabling them to support your network application as you expect it to be supported.
So do NOT simply change the Oracle Listener port number. And no - changing it does not "improve" security either.

Similar Messages

  • Select Listener Port Number from which_table?

    I'm writing a SQL script that, among other things, disconnects from Oracle and then reconnects to the same instance as a different user. I'm able to query v$database and v$instance to get most of the information I need (host, service name, etc) for the reconnect part. The only part I'm missing is the listener port number. I could hard code it to 1521, but that isn't very flexible. Currently, I'm prompting the user (which is normally me) for the listener port number in the SQL script, but that just seems a little bit lame. So my question is this: is there a view or table somewhere in the sys schema that I could use to view the listener configuration? I'm mostly working with 10gR2+ databases.

    cleavitt wrote:
    That is possible, but it needs to be a standard Oracle configuration if the script is to remain generic and portable. The script is actually working fine as-is. I was just trying to go the extra mile and determine the port number automatically. I could also prompt for a TNSNames entry as suggested by others, but I don't always have an entry defined for all of the Oracle instances in my company on every workstation that I work from.
    Here is the script for anyone that is interested. It started out as a script that I found online, but the original did not work with 11g case-sensitive passwords and it only worked for local connections on the server.
    Description:
    Allows a DBA user to impersonate another user (without knowing the user's password).
    Similar in function to using the SU command in Unix/Linux.
    Note:
    This script temporarily changes the impersonated user's password and may cause other
    connection attempts by that user to fail during the moment that the temporary password is in effect.
    WHENEVER SQLERROR EXIT
    SET VERIFY OFF
    ACCEPT username CHAR PROMPT 'Enter the username: '
    ACCEPT listenerport NUMBER DEFAULT 1521 PROMPT 'Enter the listener port [1521]: '
    -- Define substitution variables and column mapping.
    COLUMN username NEW_VALUE username
    COLUMN password_hash NEW_VALUE password_hash
    COLUMN host_name NEW_VALUE hostname
    COLUMN instance_name NEW_VALUE servicename
    -- Populate substitution variables.
    SELECT
    name AS username,
    -- Get the user's password hash(s) and apply appropriate formatting for case-sensitive password if needed (11g+ passwords).
    NVL2(spare4, spare4 || ';' || password /* 11g+ */, password /* pre-11g */) AS password_hash
    FROM sys.user$
    WHERE name = UPPER('&username');
    SELECT host_name, instance_name
    FROM v$instance;
    -- Set the user's password to a temporary value.
    ALTER USER &username IDENTIFIED BY TempPass;
    -- Use the temporary password to connect to the database as the user.
    CONNECT &username/TempPass@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=&hostname)(PORT=&listenerport))(CONNECT_DATA=(UR=A)(SID=&servicename)));
    -- Reset the user's password to the original value using the original password hash(s).
    ALTER USER &username IDENTIFIED BY VALUES '&password_hash';
    SHOW USER
    UNDEFINE username
    UNDEFINE password_hash
    UNDEFINE hostname
    UNDEFINE servicename
    UNDEFINE listenerport
    WHENEVER SQLERROR CONTINUE
    SET VERIFY ONAnd by so doing you just kicked the user's password expiration on down the road, negating the benefit of havng a password expiration.
    Also, you locked out the legitimate user of this account, until such time as you reset it back to the original. And in the mean time, if this happens to be an account used by some automated process, that process doesn't know the new "temporary" password and runs a risk of locking the account from too many invalid connection attempts. Try to become SYSMAN or DBSNMP from this, and you will very quickly kill OEM.
    This has "bad idea" written all over it. What problem is it supposed to be be solving?

  • What is default database listener port number

    Running emca script requested for database listener port number. Where do I get this information from.

    If the port number is not specified in listener.ora,
    you may get different values with 10gR1 such as 1509,
    1525, 1525 or 1531 (on Windows XP SP2).
    I guess this depends also on whether the TCP/IP port
    1521 is really released or notI have seen what you have described above when port 1521 was in use by another process. If the port is not in use, I have not seen any thing other then 1521 assigned when the listener was created either during installation or afterwards using Net Assistant.

  • How to change the listener port number on a standby database

    i want to change the listener port number from 1525 to 1545, which is running on a standby database.
    i did the following steps and got some error.
    1. i stop listener and modfy listener.ora
    2. i login in standby DB and issue 'alter system set local_listener='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';'
    3. i login in dg broker and issue 'edit database 's1' set property 'LocalListenerAddress'='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';' and a error coming out ORA-16703: cannot set the property while the database is enabled
    4. then i disable database
    DGMGRL> disable database 'ssmscs';
    5. DGMGRL> edit database 's1' set property 'LocalListenerAddress'='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';
    Error: ORA-16541: site is not enabled
    Configuration details cannot be determined by DGMGRL
    what can i do ? can anybody help me out? thanks in advance.
    Edited by: user1835127 on Nov 19, 2008 2:09 AM

    Hi
    You have to edit the following files in $ORACLE_HOME/network/admin or $TNS_ADMIN/ :
    In your listener.ora on your standby
    MQ_LIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = superman.dk)*(PORT = 1524))*
    TNSNAMES.ORA (on your primary and standby)
    MQ_LIST =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = superman.dk)*(PORT = 1524))*
    (CONNECT_DATA = (SID = MQ_LIST))
    after that do
    lsnrctl reload

  • Changing the listener port number in a cluster environment

    Hello,
    I have an Oracle 10g database on a Windows cluster environment with Oracle Fail safe. I am trying to change the default listener port number - these are the steps I have done to change the port number:
    1) Take the listener offline via Oracle Fail safe
    2) stop the original listener from the command line
    3) change the port number in the listener.ora file & save
    4) start the original listener
    5) bring the listener online in Fail safe
    6) register the listener in the database with ALTER SYSTEM SET LOCAL_LISTENER....
    After all this, when i check the status of the listener via lsnrctl, i see that the new port number is used, however in the Fail safe administrator, I still see the default port 1521. How do I go about changing the port number so that Fail safe also registers the change?

    I did troubleshooting to verify the group, but this just changed the port number back to the default in the listener.ora & tnsnames.ora.
    So I did all the steps again to change the port number from the default to another - via lsnrctl status, i see that the new port number is being used, I can also log in to the database via Toad using the new port number, in v$parameter i see that the local_listener is registered on the new port number....only under the Fail Safe manager, the port number (under listener parameter) has not changed....it still shows the default port number. Anyone know how to change this???

  • Changing the Listener Port Number

    Hi RACers,
    I need to change the TNS listener port number from the default of 1521 (don't ask!).
    I'm on Solaris10/Oracle10g 10.2.0.3 using a 2 node cluster.
    I've tried editing the relevant files, bouncing everything and re-starting CRS, but that doesn't work. I tried using Netca to delete the listener and re-create it with a different port number and that didn't work either. The instances did not re-register despite having their local_listener parameter changes.
    Obviously I'm doing something wrong, but don't know what. Any ideas or do you know where a procedure to do this is documented?
    Thanks in advance.

    My posting was not aimed at the OP at all.. not his fault that Oracle insists on using a TCP port that's NOT registered for Oracle use.
    It is all Oracle's fault that port 1521 is used instead of 1527.
    As for what Oracle books say.. bahumbug. Means nothing ito playing by the same networking rules as everyone else.
    Port 1527 is what is registered for and by Oracle as use for Oracle tcp traffic. Not fricken port 1521!
    And why is this a problem?
    If you're in the network business and deal with everything and anything from network analysis and management to rewriting ToS bytes for proper DiffServ application.. then it is very frustrating to find a major company like Oracle ignoring the networking rules.
    I read that as Oracle telling us "screw you".

  • Find out listener port number in linux?

    hi, can anyone tell me how i find out the listener port number in linux?

    sti..l getting the same error (please see below)
    oracle@matt-desktop:~$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-JUL-2010 16:39:19
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 19-JUL-2010 16:39:21
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    oracle@matt-desktop:~$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-JUL-2010 16:39:38
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 19-JUL-2010 16:39:21
    Uptime 0 days 0 hr. 0 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@matt-desktop:~$ cd $ORACLE_HOME/bin
    oracle@matt-desktop:/u01/app/oracle/product/11.2.0/dbhome_1/bin$ ./emca -config dbcontrol db -repos create
    STARTED EMCA at 19-Jul-2010 16:40:32
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: orcl
    Listener port number: 1521
    Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
    Local hostname ................ matt-desktop
    Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
    Listener port number ................ 1521
    Database SID ................ orcl
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    19-Jul-2010 16:40:56 oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log.
    19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Error creating the repository
    19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_repos_create_<date>.log for more details.
    19-Jul-2010 16:40:57 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error creating the repository
    Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log for more details.
    Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log for more details.
    oracle@matt-desktop:/u01/app/oracle/product/11.2.0/dbhome_1/bin$
    =========================================================
    ========================================================
    The log file is 571 lines...
    is it anything to do with this stage: --->
    Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
    im not actually entrering anything, im just clicking enter??
    Edited by: user9200169 on 19-Jul-2010 08:45

  • Forms Listener port number as a service!!!

    How can you specify the port number of the listener when it
    is installed as a service? I tried port=???? but it ignores it
    and default back to 9999...
    null

    Hi Patrick
    Try this on your command prompt
    ff50srv32 port=5555
    You can assign any port. If you don't then it will take the
    default port.
    Hope this will help you.
    Arun
    Patrick Shea (guest) wrote:
    : How can you specify the port number of the listener when it
    : is installed as a service? I tried port=???? but it ignores it
    : and default back to 9999...
    null

  • Oracle 10g database listener port range?

    Hi there
    Can you share me oracle 10g database listener port range (start port to end port No). default port is 1521
    Regards
    Jewel
    Edited by: user623166 on Jul 31, 2012 10:41 PM

    I think you will find your answer in below thread :
    listener port number
    Osama ..

  • Port number for ReportClientDocument

    Hi
    While specifying the report app server in ReportClientDocument we specify only the host name/ip. We do not specify the port. Which is the port that is being used to connect and establish the link to the RAS ?
    Eg: We only do
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc .setReportAppServer("192.168.100.101");
    So how can we specify the port ? It works without specifying (by taking a default), but I would like to know if there is a way to find which is the port and if we can override it ?
    Thanks
    Sreejith

    You're using "Unmanaged Reporting" using the Report Application Server (RAS).
    The listener port number is specified on the RAS server via the command-line option -ipport <port>, i.e., to specify the port number 2340, stop the RAS server using the CCM and add the following to the command-line:
    -ipport 2340
    Then in code you'd specify the port via the URI:
    reportClientDoc .setReportAppServer("myhostname:2340");
    For XI Release 2 and previous on Microsoft Windows installations, both the RAS server and the SDK uses default port 1566.  However, this is not so for Unix installations, or for both Windows and Unix installations with XI 3.0 and above, so the recommendation is to explicitly specify the -ipport and specify the port in code.
    Sincerely,
    Ted Ueda

  • Changing port number

    Hi all,
    i have installed 10AS(10.1.2.0.2) with seperate users for both infra and middletier. now i want to change database listener port number on both middle tier and on infra. Is it possible? If possible how. Thanks

    -shutdown all the infra and middle tier services; on both infra and middle tier do:
    opmnctl stopall
    emctl stop iasconsole
    -stop infra listener and middle tier listener
    lsnrctl stop
    -change listener port in listener.ora on infra and middle tier
    -make change in tnsnames.ora files on both infra and middle tier
    -start listener(s)
    -start OID on infra
    -change the port number in OID
    cn=Oracle Context => infra SID => change value of port for orclnetdescstring
    do this for the infra and middle tier database
    -change other config files like ORACLE_HOME/sysman/emd/targets.xml
    ; ORACLE_HOME/Apache/modplsql/conf/dads.conf
    - start up other infra services and the middle tiers

  • Identify Server listener port

    Just wonder how to find out identify server listener port number? Which file it actually stores?
    Thanks.

    Thanks for reply.
    I actually got problems with accessing amconsole.
    It always complain about server error. I installed identity server using web server as container.
    errors in webserver logs:
    "WEB4220: The web application [amserver ] is unavailable because of errors duing startup. Please check the logs for errors".
    Appreciate advice!

  • Listening port in oracle app. server 10gR2 in window 2003

    Hi Experts,
    How to find a listening port number of app. server?
    Thanks,
    Jim

    Check on the midtier home, the %ORACLE_HOME%\Apcahe\Apache\conf\httpd.conf file for port directive. Or if you have SSL-configured on the AS, the check ssl.conf file in the same location for the same directive.
    or Alternatively, log on to the EM for midtier. Go to ports and see the Webcache port for listen.
    Remember that these will be the listen ports for Webcache. For port where OHS will listen can be obtained by looking for Listen directive in the above files, and on EM, the port listed for OHS Listen (or SSL Listen, in case of SSL).
    Edited by: AMN on Dec 2, 2008 10:42 AM

  • How to know the port number to which the server process is listening

    I have created oracle 10g Release 1 database(orcl) in Windows Xp Professional edition through DBCA . I also created one more database(sample) manually .
    The ORCL server process listens to port no 1521 and
    SAMPLE server process listens to port no 1522
    Once I start the OracleServiceORCL (Service for orcl) from services.msc and check the listener status it displays
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    But when I start OracleServiceSAMPLE (Service for sample) from services.exe and check the listener status there is no change . Only when i start the instance the dynamic registration takes place with port no 1521 .
    There is no entry for listener parameter in init.ora file . My question is how is the service ORCL able to get itself registered with the listener even before the instance is up ?
    And how can i know which port no is linked with which server process?
    Also if we provide a different port number(other than 1521 say 1522) in tnsnames.ora for a service and consider the listener is listening to both 1521 and 1522 . Now consider that port number 1521 is free . In this case to which port number will the service be listening to ?
    The listener file looks like this
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    The tnsnames file has the following entry
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    SAMPLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...[coe]
    The status tells you the instance is up. Starting the service often means the instance gets started also, but whatever "often" means, "READY" means "The instance is up, running and taking callers".
    Your statement that "ORCL [is] able to get itself registered with the listener even before the instance is up" is therefore factually incorrect: you started the service, that started the instance. The instance is up and running. Instances that aren't running don't exist. Things which don't exist don't register themselves. Things which HAVE registered themselves therefore do exist.. and if they say they are "ready", it means they are completely, 100% up and running and behaving quite normally.
    I have not set LOCAL_LISTENER initialization parameter.How is this happening ?
    You only need to set LOCAL_LISTENER if (a) you're not using TCP/IP, (b) you're not using port 1521. Otherwise, PMON is hard-coded to register itself with listeners running on port 1521 and using TCP/IP and you don't need to set LOCAL_LISTENER to achieve that.
    Server Processes do not listen. Listeners do (there's a clue in their name). Listeners receive a call to connect to an instance, they spawn a server process to handle your call, and then they connect you to that server process (or send a message back to you telling you how to contact the server process). Each server process of course receives communications from its dedicated client on a specific port (usually in the 50000+ range), and that port is chosen randomly by the listener when it's spawning it. It's a bit blurry and vague to call that server process port a port on which server processes "listen", however.
    If you're talking dedicated server, each client causes one new server process to be spawned, and there is a one-to-one correspondence between server processes and the port that server process happens to accept client communications on.
    If you're going to ask a listener to do listening duty on multiple ports, I'd first question your need to do that and I'd then point out that unless your client tnsnames.ora knows to talk on the second or subsequent port numbers, the listener is never actually going to make use of that second port.
    In either case, the port the listener listens on has nothing whatsoever to do with the port your client-to-server-process communication ends up taking place on.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Wrong remote port number with TCP listener

    Hi
    I am sending data from a dsp with a network card over TCP/IP to my pc running labview7express. The data is received correctly, I use a 'TCP create listener' followed by a 'TCP wait on listener' to establish the connection, followed by a while loop with 'TCP read' in it.
    The port returned by 'TCP create listener' is correct (1001), but somehow 'TCP wait on listener' returns 57345 as remote port!?
    Also when using another port eg 1003 it still returns 57345..
    Anyone knows how this erroneous portnumber is achieved?

    stino wrote:
    > Hi
    > I am sending data from a dsp with a network card over TCP/IP to my pc
    > running labview7express. The data is received correctly, I use a 'TCP
    > create listener' followed by a 'TCP wait on listener' to establish the
    > connection, followed by a while loop with 'TCP read' in it.
    > The port returned by 'TCP create listener' is correct (1001), but
    > somehow 'TCP wait on listener' returns 57345 as remote port!?
    > Also when using another port eg 1003 it still returns 57345..
    > Anyone knows how this erroneous portnumber is achieved?
    Nothing wrong with that. A TCP/IP connection has ALWAYS two connection
    ends with each of them using a port number. 1001 is the port of the
    local listen socket (which needs to be fixed so that clients can connect
    to a know
    n server) in your LabVIEW application. 57345 is the port number
    used by your software running on your DSP board. A client usually has no
    fixed port number but allocates any port number not already in use. When
    the listen socket receives a connection request it connects and passes
    the connection with the local port 1001 and the remote port 57345
    through TCP Wait On Listener to your application. Since you set up the
    Listen Socket in Create Listener you already know its port number so TCP
    Wait on Listener does only return the port number of the remote
    connection end of your connection.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • OpsMgr EventId 26007 on Domain Controllers "The EventLog service reported that the Security event log on computer ' ' is corrupt."

    Hi, We are receiving several eventids '26007' from the OpsMgr log on our Domain Controllers, also eventids '26008' with similar description are logged The EventLog service reported that the Security event log on computer '<Domain Controller Computer>

  • Adobe Garamond Pro [Regular] no longer recognized CS2

    For months I have been working on hundreds of documents using Adobe Garamond Pro Regular OpenType font with no problems. Today I was copying some text out of an old Quark document (in the Times font). After pasting it into Indesign CS2 I formatted th

  • Preflight - for specific ICC-profile in images

    Hi there This sort of has my head spinning. Is it possible to do a pdf analysis to check that all images use a specific icc-profile(FOGRA27)? I know it can be done in many different ways(Output Inspector for one) and by using the PDF fixup that conve

  • Retake a module with only the quiz.

    I am currently working on a module that has the quiz in two parts, seperated by a number of slides. At the end of the module, should the user fail the quiz, I would like to give them the opportunity to retake the quiz without having to go through the

  • Mac Mail custom keyboard shortcuts won't work

    I'm using Mac Mail, trying to set keyboard shortcuts to set flags - I goto preferences/keyboard/application shortcuts - click on "+" to add shortcut - specify Mail shortcut in dropdown menu - add 6 different shotrcuts OPT/CMD-_ (where _ is: L S V F R