Opening another port in Oracle

Hi,
If I have an Oracle database listening on port 1521, is it possible to open another port for listening? What must I do to achieve that? What I had tried out is to create a listener using net assistant. Then, I create another service name for that. But I keep on receiving no TNSListener error when I test the service.
Am I on the correct path?
Thanks in advance.

You definitely are on the right path. See if the listener you created is running or not when you try to connect thru that listener.
To check the listener, you can see the service using start->settings->control panel->services
or you can also use lsnrctl.exe in ur Oracle_home/bin directory
HTH
Naveen

Similar Messages

  • Open same port for multiple servers.

    I am sorry if this sounds rudimentary, but I wanted to make sure. I want to open up port 80 to more than one web server. I already have port 80 open on one public IP address and have another one ready to use for another server. My assumption is that I should just be able to create a policy using the additional IP address and use port 80 without any issues. Is that correct to assume? I would also like to know, how one would do this is they only had one public IP address. I believe these should be relatively easy questions for the experts here. Thanks.  

    If you have a netblock from which you can assign multiple IP addresses then, yes - just asign additional access-list entries and static NAT entries.
    If you only had a single (or limited number all in use) public IP address then you would have to use some sort of PAT (port address translation). for instance:
    server 0 is <outside address>:80
    server 1 is <outside address>:81
    server 2 is <outside address>:82
    ..etc. Your remote users would then have to specify the non-default port (80/81/82) when browsing to the site.

  • Tecra M1 - Modem doesn't work (can't open a port)

    I have a problem: After reinstalling WinXP and drivers on my Tecra M1, modem doesn't function. It even can't diagnose itself - there always comes a warning: "Can't open a port (COM). It may be used by another device or application". I installed the latest Toshiba drivers for the modem, but nothing changes. How can I fix it? Looking forward for your advices!
    Best regards.

    Hi
    Did you install the drivers in the right order? Not? So do it!
    Did you install any additional devices or software which could has a bad influence on the modem?
    Check the modem status in the device manger. Can you see any yellow exclamation marks?
    Try to start the modem test within the Operating system.
    Check the Modem function under
    Start -> Control Panel -> Phone and Modem Options -> Modems Tab -> Properties -> Diagnostics
    by pressing the "Query Modem" button.
    If the Modem Information window contain a list of AT commands (including ATI2, ATI3, ATI4 etc.), then the modem is correctly installed. The ATI5 command ends in with the number for the selected Regional settings (for example Germany = 06).
    To change the Regional Setting please use the Toshiba Internal Modem Region Select Utility.

  • While open socket,why JDK1.4.2 open additional port byt JDK 1.4.1 do not?

    Dear All:
    I am programming swing client project
    I found an interesting difference betwen JDK1.4.1 & JDK1.4.2
    While open socket to server ,jdk1.4.2 stub in server will open random port to the "request" client
    (see below)
    ==============================
    client ----------port:7001---------->ejb server JDK1.4.2
    <--------port : ? (random)--
    =================================
    but in jdk1.4.1 ,only
    ====================================
    client ----------port:7001---------->ejb server JDK1.4.1
    ======================================
    This phenomenon ,confuesed me these days.Have any parameter to fix the socket connection rule for the latter JDK version?
    Best Regards
    john

    There's not enough info there: there should be a local and a remote port number per connection; but it's not possible the way you describe it. It's probably another connection from the client to the server, maybe for DGC?

  • How to configure port in oracle

    dear all
    i want to install oracle database 10g and application server 10.1.2.0.2 on same machine .but while doing so i am getign error that already listener port is used by another object .so how and what should i do as i want to install bothe oracle database and application server 10.1.2.0.2 .
    please help
    thanks in advance
    Munir

    thanks for quick reply .actually i m telling the details
    i have oracle 10g R2 and Developer suit 10g installed on my machine .i was installing application server 10.1.2.0.2 on the same machine in diferent home . but while i'm installing the app srver it gives the error that already listener port is used ,use different port or stoped it first before procedding .......
    as oracle listener use 1521 port by default . is it possible to change the oracle database default port 1521 to another port ?
    regards
    Munir

  • Attach Forms With Comm Port in Oracle Forms

    I am trying to make connection of Oracle forms Builder with my device using comm port but i dnt know the complete procedure to attach the comm with oracle forms also i have no idea to convert asquii data to normal form.Please any one help me to attach comm port with my oracle forms and also convert asqui code which is showing on hyper terminal into normal data.Also I am using oracle forms 6i

    Make a java component (PJC) and use a rxtx library (http://rxtx.qbang.org/wiki/index.php/Examples) ...
    I have made a PJC to use a RS232 port from oracle forms for Hypercom POS terminal..
    Here is my code (in short i will post a component on PJC site (here I can't post a complete code because of 30000 char limit ;) )..
    If you look in method "public void init(IHandler handler) " I make a download of rxtxSerial.dll from my forms server and then I call System.loadLibrary("rxtxSerial");"
    In other way you must put the dll in windows/system32 path.. This dll is native library for rs232 communication.
    If you look at the method "public void doTransaction" you can see the initialization of comm port...
    With inputStream and OutputStream you read and write datas to/from your rs232 port..
    p.s: the code is not complete but you can see how I made the rs232 communication (also the code is not final ;) )
    ====================================================
    public class PosTerminalPjc extends VBean {
         private static final long serialVersionUID = -8814623494538014849L;
         Properties res = new Properties();
         SerialPort serialPort;
         OutputStream os;
         InputStream is;
         CommPortIdentifier portId;
         Enumeration portList;
         IHandler mHandler;
      Random randomGenerator = new Random();
            char STX = 2;
         char ETX = 3;
         char EOT = 4;
         char ACK = 6;
         char NAK = 15;
         char FS = 28;
         private static final ID COMPORT         = ID.registerProperty("COMPORT"); // serial port (COM1,COM2,COM3,...)
         private static final ID AMOUNT          = ID.registerProperty("AMOUNT"); // amount of the transaction (12)
         private static final ID TRANSACTIONTYPE = ID.registerProperty("TRANSACTIONTYPE"); // SALE, REFUND
      private static final ID EXECUTE         = ID.registerProperty("EXECUTE"); // invoke doTransaction();
      //Output parameters to form
      private static final ID TRANSACTIONPROCESSED  = ID.registerProperty("TRANSACTIONPROCESSED");
      private static final ID TRANSACTIONFLAG       = ID.registerProperty("TRANSACTIONFLAG");
      private static final ID TRANSACTIONNUMBER     = ID.registerProperty("TRANSACTIONNUMBER");
      private static final ID BATCHNUMBER           = ID.registerProperty("BATCHNUMBER");
      private static final ID TRANSACTIONDATE       = ID.registerProperty("TRANSACTIONDATE");
      private static final ID TRANSACTIONTIME       = ID.registerProperty("TRANSACTIONTIME");
      private static final ID TRANSACTIONAMOUNT     = ID.registerProperty("TRANSACTIONAMOUNT");
      private static final ID CARDDATASOURCE        = ID.registerProperty("CARDDATASOURCE");
      private static final ID NUMBERCUSTOMERCARD    = ID.registerProperty("NUMBERCUSTOMERCARD");
      private static final ID EXPIRATIONDATE        = ID.registerProperty("EXPIRATIONDATE");
      private static final ID TERMINALID            = ID.registerProperty("TERMINALID");
      private static final ID MERCHANTID            = ID.registerProperty("MERCHANTID");
      private static final ID COMPANYNAME           = ID.registerProperty("COMPANYNAME");
      private static final ID SEQUENTIALNUMBER      = ID.registerProperty("SEQUENTIALNUMBER");
      private static final ID ERRORDESC             = ID.registerProperty("ERRORDESC");
         //Events
      private static final ID EVT_OK  = ID.registerProperty("EVT_OK"); //custom event if all ok
      private static final ID EVT_ERR = ID.registerProperty("EVT_ERR"); //custom event if error occured
      // state machine variables
         long l_timeout;
         long l_wait_for = 5000; // pos terminal wait for command (5 seconds)
         long l_wait_for_transaction = 62000 * 2; // pos terminal timeout
         long l_second = 1000; // one second
         byte b_retry = 0;
         String dataValue = "";
      byte[] readBuffer = new byte[2000]; //2000 bytes buffer to read rs232 stream
         String comPort = ""; // local variable to store com port name
                                       // (COM1,COM2,...)
         String transactionType = "SALE"; // type of transaction to be executed (SALE
                                                      // or REFUND) default SALE
         String amount = "0"; // default amount value is set to 0
         //output paramerers
      String transactionProcessed = "";
      String transactionFlag = "";
      String transactionNumber = "";
      String batchNumber = "";
      String transactionDate = "";
      String transactionTime = "";
      String transactionAmount = "";
      String cardDataSource = "";
      String numberCustomerCard = "";
      String expirationDate = "";
      String terminalId = "";
      String merchandId = "";
      String companyName = "";
      String sequentialNumber ="";
      String errorDescription;
        public PosTerminalPjc() {
              super();
              System.out.println("============================");
              System.out.println("== State machine POS v1.0 ==");
              System.out.println("== Peter Valencic (c)     ==");
              System.out.println("== 03.04.2012             ==");
              System.out.println("============================");
        System.out.println("java.library.path: "+System.getProperty("java.library.path"));
              try {
                   res.load(this.getClass().getResourceAsStream("/res/language.properties")); // load language file
              } catch (Exception ex) {
                   System.err.println("Err loading language.properties file: "
                             + ex.toString());
      public void init(IHandler handler)
        super.init(handler);
        this.mHandler = handler;
        System.out.println("init handler ok");
        System.out.println("code base: "+handler.getCodeBase());
        //load dll from codeBase URL
        try
          String mylibName = "rxtxSerial.dll";
          String URLpath = "http://dekani:7777/forms/java/";
          System.out.println("URL: "+ URLpath + mylibName);
          URL libUrl = new URL(URLpath+mylibName);
          System.out.println("libUrlgetFile: " + libUrl.getFile());
          File file = new File(mylibName);
          System.out.println(file);
          if (!file.exists())
          file.createNewFile();
          URLConnection urlc = libUrl.openConnection();
          InputStream in = urlc.getInputStream();
          FileOutputStream out = new FileOutputStream(file);
          byte[] buffer = new byte[1048];
          int read;
          while ((read = in.read(buffer)) != -1){
             out.write(buffer, 0, read); // write
            out.close();
            in.close();
            System.loadLibrary("rxtxSerial");
        catch(Exception exc)
          System.err.println("Exception SystemLoadLibrary: " + exc.toString());
          this.showError(res.getProperty("s_dlg_err_title"),res.getProperty("s_lib"));
      private void doTransaction() throws Exception {
        String sequentialNumber = ""+getRandomInteger(1000,9000,randomGenerator);
              String phase = null; // initial null value for state machine phase
              long l_ack_timeout = 0; //initial value for acknowledge timeout
              // com port check
              if (getComPort().trim().equalsIgnoreCase("")) {
                   this.showError(res.getProperty("s_dlg_err_title"),
                             res.getProperty("s_com_invalid"));
              if (this.mHandler != null)
                                CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                                this.setErrorDescription(res.getProperty("s_com_invalid"));
                                dispatchCustomEvent(ce);
                   return;
              // transaction type chek
              System.out.println(this.getTransactionType());
              if (!getTransactionType().equalsIgnoreCase("REFUND")
                        & !getTransactionType().equalsIgnoreCase("SALE")
            & !getTransactionType().equalsIgnoreCase("TICKET")
            & !getTransactionType().equalsIgnoreCase("VOID")
                   this.showError(res.getProperty("s_dlg_err_title"),res.getProperty("s_tran_invalid_type"));
          if (this.mHandler != null)
                                CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                                this.setErrorDescription(res.getProperty("s_tran_invalid_type"));
                                dispatchCustomEvent(ce);
                   return;
              portList = portId.getPortIdentifiers();
              while (portList.hasMoreElements()) {
                   portId = (CommPortIdentifier) portList.nextElement();
          System.out.println(portId.getName());
                   if (portId.getName().equalsIgnoreCase(this.getComPort())) {
                        System.out.println("Port is used : "
                                  + portId.isCurrentlyOwned());
                        serialPort = (SerialPort) portId.open("ComDriver", 2000);
                        serialPort.setSerialPortParams(9600, SerialPort.DATABITS_7,
                                  SerialPort.STOPBITS_1, SerialPort.PARITY_EVEN);
                        serialPort.notifyOnDataAvailable(true);
                        serialPort.notifyOnOutputEmpty(true);
                        os = serialPort.getOutputStream();
                        is = serialPort.getInputStream();
                        break;
              if (portId == null) {
              this.showError(res.getProperty("s_dlg_err_title"),res.getProperty("s_com_not_found"));
          if (this.mHandler != null)
                                CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                                this.setErrorDescription(res.getProperty("s_com_not_found"));
                                dispatchCustomEvent(ce);
                   return;
        else if (portId.getName().equalsIgnoreCase(this.getComPort()) == false)
                  this.showError(res.getProperty("s_dlg_err_title"),res.getProperty("s_com_not_found"));
          if (this.mHandler != null)
                                CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                                this.setErrorDescription(res.getProperty("s_com_not_found"));
                                dispatchCustomEvent(ce);
          return;
              // state machine infinite loop
              while (true)
                   // SEND DATA TO POS TERMINAL
                   if (phase == null)
                        System.out.println("start phase");
                        byte[] req = null;
                        //verify transaction type to be SALE or REFUND
                        //if REFUND then transaction number must be specified
                        if (getTransactionType().equalsIgnoreCase("SALE")) {
                             System.out.println("--> SALE send message to the pos terminal");
                             System.out.println("--> amount: " + amount);
                             req = protocolStream("000000"+sequentialNumber+"01100" + FS + amount + FS
                                       + FS + "+0" + FS + "978" + FS + FS + FS + FS + FS
                                       + FS + FS + ETX);
                        else if (getTransactionType().equalsIgnoreCase("REFUND")) {
                             System.out.println("--> REFUND send message to the pos terminal");
                             System.out.println("--> amount: " + amount);
                             System.out.println("--> transaction number: " + getTransactionNumber());
                             req = protocolStream("000000123405100" + getTransactionNumber() + FS + amount
                                       + FS + FS + "+0" + FS + "978" + FS + FS + FS + FS
                                       + FS + FS + FS + ETX);
            else if (getTransactionType().equalsIgnoreCase("VOID")) {
                             System.out.println("--> VOID transaction");
                             System.out.println("--> amount: " + amount);
                             System.out.println("--> transaction number: " + getTransactionNumber());
                             req = protocolStream("000000123410100" + getTransactionNumber() + FS      + FS + FS + "+0" + FS + "978" + FS + FS + FS + FS
                                       + FS + FS + FS + ETX);
            else if (getTransactionType().equalsIgnoreCase("TICKET")) {
                             System.out.println("--> TICKET duplicate");
                               req = protocolStream("000000123413100" + getTransactionNumber() + FS      + FS + FS + "+0" + FS + "978" + FS + FS + FS + FS
                                       + FS + FS + FS + ETX);
            else {
                             //nothing ;)
                        os.write(req);
                        os.flush();
                        l_ack_timeout = System.currentTimeMillis() + 1500;
                        //wait for half second
                        Thread.sleep(500);
                        l_timeout = System.currentTimeMillis() + l_wait_for; //add some time for timeout
                        phase = "TO_POS_ACK";
                        System.out.println("phase: " + phase);
                   }//phase null
                   //CHECK IF THE TIMEOUT OCCURED
                if (phase.equalsIgnoreCase("TO_POS_ACK") & (l_timeout < System.currentTimeMillis()) & (b_retry < 4))
                    b_retry += 1;
                    System.out.println("TIMEOUT: " + b_retry);
                    l_timeout = System.currentTimeMillis() + l_wait_for;
                    if (b_retry >= 4) {
                        System.out.println("Timeout occured");
                        closePort();
                        this.showError(res.getProperty("s_dlg_err_title"),res.getProperty("s_timeout"));
                        break;
              //CHECK FOR THE ACKNOWLEDGE (FIRST RESPONSE FROM POS TERMINAL)
                if (phase.equalsIgnoreCase("TO_POS_ACK") &
                        (l_ack_timeout < System.currentTimeMillis())) {
                    try {
                        int numBytes = 0;
                        dataValue = "";
                        while ((numBytes = is.read(readBuffer)) > 0) {
                            dataValue += new String(readBuffer, 0, numBytes, "ASCII");
                        if (dataValue.getBytes().length > 0) {
                            System.out.println("->first byte: " +
                                dataValue.getBytes()[0]);
                            System.out.println("total length: " +
                                dataValue.getBytes().length);
                            //check for ack byte
                            if (dataValue.getBytes()[0] == 6) {
                                System.out.println(
                                    "<--ACKNOWLEDGE received from pos terminal");
                                phase = "WAIT_FOR_TRANSACTION";
                                l_timeout = System.currentTimeMillis() + l_wait_for_transaction;
                                System.out.println("-> wait for transaction response");
                    } catch (IOException ev) {
              //WAIT FOR TIMEOUT ON MESSAGE (watch dog timer)
                if (phase.equalsIgnoreCase("WAIT_FOR_TRANSACTION") &
                        (l_timeout < System.currentTimeMillis())) {
                    System.out.println(
                        "Error receiving response from pos terminal!!!");
                    closePort();
                    this.showError(res.getProperty("s_dlg_err_title"),
                                 res.getProperty("s_response_error"));
                  if (this.mHandler != null)
                    CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                    this.setErrorDescription(res.getProperty("s_response_error"));
                    dispatchCustomEvent(ce);
                    break;
              //WAIT FOR SOME DATA TO COME FROM POS TERMINAL OVER RS232
                if (phase.equalsIgnoreCase("WAIT_FOR_TRANSACTION")) {
                    try {
                        int numBytes = 0;
                        dataValue = "";
                        Thread.sleep(500);
                        while ((numBytes = is.read(readBuffer)) > 0) {
                            dataValue += new String(readBuffer, 0, numBytes, "ASCII");
                        if (dataValue.getBytes().length > 0) {
                            System.out.println("->first byte: " +
                                dataValue.getBytes()[0] + "|" +
                                dataValue.getBytes()[1]);
                            System.out.println("->ascii: " + dataValue);
                            System.out.println("total length: " +
                                dataValue.getBytes().length);
                            if (dataValue.indexOf("PREKINIL UPORABNIK") != -1) {
                                System.out.println(
                                    "Uporabnik je prekinil povezavo!");
                                  closePort();
                                //transaction cancelled by user s_user_cancel
                                this.showError(res.getProperty("s_dlg_err_title"),
                                             res.getProperty("s_user_cancel"));
                              if (this.mHandler != null)
                                CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                                this.setErrorDescription(res.getProperty("s_user_cancel"));
                                dispatchCustomEvent(ce);
                                break;
                            if (dataValue.indexOf("NAPACEN VNOS") != -1) {
                                System.out.println("Napačen vnos");
                                closePort();
                                //invalid user entry
                                this.showError(res.getProperty("s_dlg_err_title"),
                                             res.getProperty("s_user_invalid_entry"));
                               if (this.mHandler != null)
                                CustomEvent ce = new CustomEvent(this.mHandler, EVT_ERR);
                                this.setErrorDescription(res.getProperty("s_user_invalid_entry"));
                                dispatchCustomEvent(ce);
                                break;
                            if (dataValue.indexOf("PROSIM POCAKAJ") != -1) {
                                System.out.println("<-- PROSIM POCAKAJ");
                                continue;
                            //preberemo podatke iz stringe terminala
                            if (dataValue.indexOf("SPREJETO") != -1) {
                                closePort();
                                System.out.println("<-- TRANSAKCIJA SPREJETA");
                                System.out.println(dataValue);
                                StringTokenizer st = new StringTokenizer(dataValue, "\034" );
                                String dv = st.nextToken();
                                sequentialNumber = dv.substring(6,10);
                                transactionProcessed = dv.substring(1, 3);
                                transactionFlag = dv.substring(13,15);
                                transactionNumber = dv.substring(15,21);
                                batchNumber = dv.substring(21,25);
                                transactionDate = dv.substring(25,31);
                                transactionTime = dv.substring(31,37);
                                transactionAmount = st.nextToken();
                                st.nextToken(); //Amount exponent
                                st.nextToken(); //Amount currency
                                cardDataSource = st.nextToken();
                                numberCustomerCard = st.nextToken();
                                expirationDate = st.nextToken();
                                st.nextToken(); // authorization code
                                terminalId = st.nextToken();
                                merchandId = st.nextToken();
                                companyName = st.nextToken();
                                System.out.println("================");
                                System.out.println(transactionProcessed);
                                System.out.println(transactionFlag);
                                System.out.println(transactionNumber);
                                System.out.println(batchNumber);
                                System.out.println(transactionDate);
                                System.out.println(transactionTime);
                                System.out.println(transactionAmount);
                                System.out.println(cardDataSource);
                                System.out.println(numberCustomerCard);
                                System.out.println(expirationDate);
                                System.out.println(terminalId);
                                System.out.println(merchandId);
                                System.out.println(companyName);
                                if (this.mHandler != null)
                                  System.out.println("dispatch custom event");
                                  CustomEvent ce = new CustomEvent(this.mHandler, EVT_OK);
                                  dispatchCustomEvent(ce);
                                return;
                    } catch (IOException ev) {
                      System.err.println("Exception sm: " + ev.toString());
                System.out.print('*');
                Thread.sleep(200);
              }//end state machine loop
          * protocolStream prepare the stream to be send over RS232 to POS terminal
          * with LRC cheksum control
          * @param data
          * @return byte[]
         private byte[] protocolStream(String data) {
              char STX = (char) 0x02;
              String tmp = "" + STX + STX + data + "" + getLRC(data);
              System.out.println("PStream: " + tmp);
              for (int i = 0; i < tmp.getBytes().length; i++) {
                   System.out.print(tmp.getBytes() + ":");
              return tmp.getBytes();
    * close port and stream
    private void closePort()
    try {
    serialPort.close();
    is.close();
    os.close();
    } catch (Exception ee) {
         * Longitudinal Redundancy Check (LRC)
         * @param packet
         * @return String
         private String getLRC(String packet) {
              char[] splitPacket = packet.toCharArray();
              char lrc = 0x00;
              for (int x = 0; x < splitPacket.length; x++) {
                   lrc = (char) (lrc ^ splitPacket[x]);
              return "" + (char) lrc;
         private String paddingString(String s, int n, char c, boolean paddingLeft) {
              if (s == null) {
                   return s;
              int add = n - s.length(); // may overflow int size... should not be a
              if (add <= 0) {
                   return s;
              StringBuffer str = new StringBuffer(s);
              char[] ch = new char[add];
              Arrays.fill(ch, c);
              if (paddingLeft) {
                   str.insert(0, ch);
              } else {
                   str.append(ch);
              return str.toString();
    public boolean setProperty(ID id, Object value)
    if (id.toString().equalsIgnoreCase("COMPORT")) {
    setComPort((String)value);
    System.out.println("RS232 com port: " + getComPort());
    return false;
    if (id.toString().equalsIgnoreCase("AMOUNT")) {
    this.setAmount((String)value);
    System.out.println("Amount value: " + getAmount());
    return false;
    if (id.toString().equalsIgnoreCase("TRANSACTIONTYPE")) {
    this.setTransactionType((String)value);
    System.out.println("Transaction Type value: " + this.getTransactionType());
    return false;
    if (id.toString().equalsIgnoreCase("EXECUTE")) {
    System.out.println("Invoke pos terminal");
    try
    doTransaction();
    catch(Exception ex)
    System.err.println("Execute Exception>> " + ex.toString());
    this.showError(res.getProperty("s_dlg_err_title"),res.getProperty("s_gen_exception"));
    return false;
    return false;
         * Display error message inside oracle form
         * @param title
         * @param exceptionString
         private void showError(String title, String exceptionString) {
              JOptionPane.showMessageDialog(this, exceptionString, title, 0);
    Edited by: peterv6i.blogspot.com on May 8, 2012 10:18 AM
    Edited by: peterv6i.blogspot.com on May 8, 2012 10:20 AM
    Edited by: peterv6i.blogspot.com on May 8, 2012 10:21 AM

  • Cannot open local port whatever

    Hi,
    I've just downloaded AVTransmit2.java and AVReceive2.java from this website's JMF tutorial and am having a little trouble getting both classes to communicate.
    I have two Command Prompt windows open and I'm trying something like
    java AVTransmit2 file:C:\Whatever.au ipaddress(my machine's IP) 4000
    java AVReceive2 ipaddress(my machine's IP)/4000
    Whatever process I run first, the second process then tells me that it cannot open local port 4000, even though this is the port that both processes are meant to communicate on. Should I be using two different machines to communicate?
    Sorry to bug everybody with this problem, it's probably been posted before but some advice would be appreciated.
    Thanks

    Err, well, if they are both acting as servers, that's right. If you are running them on the same machine, then the first one takes port 4000 and the second one can't use it. I would think they would take 2 sets of IP and port, one for it's server port, one for it to connect to the other side...
    however, I wouldn't think that the transmitter app would be using a server port. You should be starting the receiver first.
    Or something else is using that port. Another receiver you started but didn't start, maybe? Some other app? It shouldn't matter what port you use. Try something else (4001, 4002, etc).

  • How can i open ftp port(s)?

    Hi,,
    I have attached to my AE a Internet HD - WdMyCloud.
    I've tried connect to my MyCloud outside my network without success (from a imac - ftp and afp)
    What am I doing wrong? When I'm on the same network I do connect through ftp , but when I'm away home I can't .
    Here's a print screen of my Airport Extreme configuration . Someone could help me please?
    https://www.dropbox.com/s/a48jexr3dlokod7/Screen%20Shot.jpg?dl=0

    Port 5900 is for VNC (screen sharing), the WD will not support VNC. Leave that port alone.
    What you want to to is complex to setup securely…
    Enable ssh on the WD.
    Fix the WD's IP local address on the router so that it is always the same (this makes port forwarding stable).
    On your router open a port to use ssh…
    Port 22 is 'privileged' & is often scanned by bots just like port 21, choosing another port will reduce that exposure to an extent (a determined hacker will still know ssh is running on this port).
    Pick port 23895 or something else high (over 1024) that is the external port to use to 'dial in'. The router needs to direct to the internal port 22 on the WDMyCloud.
    To test the connection use ssh in Terminal (do this from inside & outside the WD network)…
    ssh -p 23895 username@external-IP-address
    accept the 'ID' if they match (first time only, unless the IP changes)
    enter password for username
    This allows you to run commands or browse files via Terminal commands etc.
    Type exit & hit return to leave the remote session.
    You can also use apps like Panic's Transmit to mount the share points over ssh or sftp - frankly it's easiest to stop here - Transmit has a 'mount remote disk' feature that basically does the same as Connect to server in Finder. Use ssh or sftp as the settings & it will be secure.
    Mounting remote in Finder
    If you want to mount the disk via AFP in Finder you need to use 'ssh local port forwarding'. The principle is to forward a custom local port through the ssh connection to the AFP port on the WD.
    This will setup the forward…
    ssh -p 23895 username@external-IP-address -L 22548:localhost:548
    Note -L is 'local forward' here it uses local port 22548 on localhost to connect to 548 on the remote end.
    Then you can connect in Finder to localhost.
    afp://username@localhost:22548
    You are connecting to the local port 22548, which is actually a tunnel to the WD's port 548.
    Some things to note.
    You need to disconnect & kill the ssh connection when finished, otherwise the local forwarded port will remain in use, this prevents connections & makes it frustrating.
    Your external IP address may change depending on your ISP & internet service type, whatsmyip.com will help you see changes but only from inside the network. dyndns.com or no-ip.org can help with this issue. Either the WD or the router should be made responsible for updating any dyndns records.
    I haven't mentioned setting up ssh keys, there are many guides on the web. Once keys are setup you can disable password login via ssh on the WD, just be aware that if the keys do not work you get locked out of ssh - potentially catastrophic on these NAS's that have limited access. Transmit will use keys saved in your user account.
    Local forwarding seems complex (it is) but once it works you can save the commands in two scripts, one to connect & mount the disk(s), another to disconnect & kill the ssh connections. It makes life easier. Transmit skips the need for these altogether.
    I suspect that is very scary, sorry it is just complex to setup. Test locally is my advice (use the internal IP when inside), then move onto testing from outside. If you have an iPhone apps like Prompt or iSSH can allow you to test connections via cellular data which is outside the LAN.
    I'll try to clarify if you have questions, but it's very difficult to troubleshoot via forums, so good luck

  • After brrestore: Couldn't open verify PSE file /oracle/ sid /LASVerify.pse

    After a brrestore on same server and <SID> each time that we run cleanup logs from DB13  we see:
    BR0801I BRCONNECT 7.00 (32)
    BR1301W Error message from likeywlib: likey_init: Couldn't open verify PSE file ("/oracle/<sid>/LASVerify.pse") for writing, errno = 13 (Permission denied).
    BR1302W Initialization of license key library likeywlib failed, return code 1
    BR1304W Checking SAP license failed at location BrLicCheck-104
    BR0602W No valid SAP license found - please contact SAP
    BR0805I Start of BRCONNECT processing: cdzkodpr.cln 2008-12-06 22.46.27
    BR0484I BRCONNECT log file: /oracle/<sid>/sapcheck/cdzkodpr.cln
    It is on a Linux SuSE X64 - Oracle 10.2.0.4 box
    Regards.
    Ganimede Dignan.

    > After a brrestore on same server and <SID> each time that we run cleanup logs from DB13  we see:
    >
    > BR0801I BRCONNECT 7.00 (32)
    > BR1301W Error message from likeywlib: likey_init: Couldn't open verify PSE file ("/oracle/<sid>/LASVerify.pse") for writing, errno = 13 (Permission denied).
    you <SID>adm user has no permissions to write this file.
    Markus

  • Want to open another project from Quiz Results - can't get it to work.

    I have been trying to get my course to open another project (an instruction slide) after the user completes a quiz and it is not working. The course always closes after the quiz results. I have set the Project End Options and the Pass or Fail options to all open another project (the instruction slide), but instead, after the user clicks 'Continue' on the quiz results page, the course always closes. What could I be missing? (Am using Captivate 5.)

    Just finally getting my head above water and am able to respond and update. Yes, I was using a tool called RELOAD to update the imsmanifest file. Actually a great tool that I can recommend now that I worked out the kinks with Captivate. Please see this post for more information. http://www.caddicks.com/blog/2012/02/17/how-to-publish-a-multi-file-captivate-project-as-a -single-scorm-course/#comment-249711
    Here's a quick summary of how I ended up resolving this - I can't even remember all the different options I tried until I settled on this! I never resolved the issue with launching another project from the quiz results page, but found a workaround that works even better.
    The course starts with a brief introduction module. The 'Continue' button on the last slide is set to launch another project, which opens the course's 'main menu.'
    The 'main menu' project has several buttons that launch appropriate sub-topic projects.
    On the last slide of each of the 'sub-topic' projects has the 'Continue' button set to launch the 'main menu' again. Each of these had quiz questions, but feedback was set at the question level only - no quiz results page.
    The last option on the 'main menu' project was a 'Course Completion' button - which launches a project containing the final quiz. (NOTE: This was always the only project that had the "Show score at the end of the quiz" set to display under Preferences / Quiz / Settings. After a lot of hair-pulling, I realized that it wasn't necessary to open another project to accomplish what I wanted to do, which was return the user to some basic instructions before they retook the quiz.)Here is how the last project was set up.
    The first slide is a content slide with instructions for the quiz. When the user clicks the "Back" button from this slide, it will launch the 'main menu' project. 'Next' simply goes to the next slide.
    Slides 2-5 are quiz questions
    Slide 6 is the quiz results slide (turned on under Preferences / Quiz / Settings). Buttons are: Review Quiz and Continue.
    Slide 7 is a content slide with instructions on what to do next. This slide has a text button that I called "Retry" and under Properties / Reporting for the button the "Include in quiz" is NOT checked. The Retry button takes the user back to the first slide in the quiz.

  • I am having trouble viewing iStore. It appears as if its a Flash issue, as several minutes after logging in to iStore I get a non-flash page of iStore in my iTunes window. I have re-installed everything and tried opening all ports in router....any ideas?

    I am having trouble viewing iStore. It appears as if its a Flash issue, as several minutes after logging in to iStore I get a non-flash page of iStore in my iTunes window. I have re-installed everything and tried opening all ports in router, and used msconfig to bring up each service individually to see if there is an effect.Flash and iTunes have been re-installed  ...any ideas?

    I agree. I don't rely on iCloud as a backup, that is what I have my portable hard drive for. Its 500 GB so I can hold my entire iTunes library several times over on it. I have all my movies on my hard drive, but somehow "The Mist" got deleted off of my hard drive, so I figured "Well, the option to redownload an already purchased movie is available through iCloud, I'll just do that!"
    And permissions and download availability have nothing to do with it, the movie's still there, it still allows me to redownload it. The only problem is when I click download, I get that message.
    And nobody else uses my computer, but I do have multiple accounts authorized on it. Even still though, I am attepmpting to download it through the account I purchased it under. :/

  • Whenever i have a mozilla browser on and i try to open another mozilla window browser it work pull up a new window. When close the browser that was on, it will still show up on Task Manager. Whats going on with this?

    Whenever i have a mozilla browser on and i try to open another mozilla window browser it work pull up a new window. When close the browser that was on, it will still show up on Task Manager. Whats going on with this?

    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    I've installed the Adobe Reader Plug In. Yet every time I click to see a PDF, it opens another browser and it is blank. The Browser reads about:blank. How can I fix this so that PDF's open in the browser?

    Check your settings in Options > Applications: https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox#w_check-firefox-settings
    Also see:
    *https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    *http://kb.mozillazine.org/File_types_and_download_actions
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • FireFox doesn't fully close so whenever I reopen it refuses to open secure sites I had up when I closed it; it keeps thinking that the tab is already open and wont open another one. How do you fix this?

    Whenever I close Firefox and then reopen it later on it opens the last webpage I had open before closing the browser instead of my homepage. It seems that exiting Firefox doesn't fully shut it down and just puts it into hibernation mode. This has become a problem because when I have a secure webpage open when I close the web browser, without logging out of the page, and then try to go to that page again it thinks that it's already open and wont open another page for me. This means that I can't even navigate to the page to log out. I think it might be just a setting with Firefox 4 but not sure which one, any suggestions?

    For possible causes and solutions see [[Firefox is already running but is not responding]].

  • Help,how close pop-up window ,and open another view

    Hello,
    How click the pop-up window button ,then close the pop-up window .
    At the same time open another VIEW,and  transfer PO number to the VIEW.
    thanks

    Hi,
    First step is set the SCREEN TYPE as "Modal Dialog Box" in screen property tab.
    Then in PBO of the popup screen take a new GUI status and select DIALOG BOX as status type.
    Then assign some function code in 'X' button say 'CANCEL'.
    the put ur logic like below :
    PBO
    module gui_status.
    PAI.
    module user_command.
    module gui_status.
       set pf-status 'ZPOPUP'.
    endmodule.
    module user_command.
      if ok_popup = 'CANCEL'. " Where ok_popup is the ok_code variable in ur popup screen , also define it in TOP include
        leave to screen 0.
    endif.
    endmodule.
    Hope this will solve your problem and help you to put your logic.
    Thanks

Maybe you are looking for