UDP server and client running on same machine

Hi all,
I can't get the QuoteServer example to work. I am trying to run both server and client on same machine since I only have one machin available at the moment.
I am using win xp behind a firewall. Anything that might interfere?
With some System outs I can see that the server is waiting for request but never getting any...

Restarted computer and now it works. Are ports locked up if I get an exception in the 'wrong' place?

Similar Messages

  • Web server and apex running on same machine - port 8080 possible conflict

    Hi Guys,
    I have installed Apache Tomcat and currently in the process of installing Oracle 11G in the same machine.
    The tomcat is using port 8080 and I understand from other installs, that APEX uses 8080 as well.
    Is there way after installing Oracle 11G XE database, to shut down APEX so it doesn't conflict with Tomcat's use of 8080? I have no use for APEX at this point want to shut it down if its possible.
    Alternatively, can it be configured to use another port?
    Many thanks.

    You can do either, shut it down or change the port. So sad that you said you "have no use for Apex...". :(
    What gateway are you using for Apex? Is it the EPG, OHS or the Apex Listener? If you're using the EPG then there is a whole command structure/API for that. Here are a couple that you can run from a SQLPlus session:
    SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;
    EXEC DBMS_XDB.SETHTTPPORT(port);
    For example:
    EXEC DBMS_XDB.SETHTTPPORT(8080);
    OR
    EXEC DBMS_XDB.SETHTTPPORT(8181);If you're using OHS then you go to your OHS/Apache directory and find the OPM path and issue your shutdown startup commands from there. If it's the Apex Listener with Glassfish then you go to the Glassfish admin console and shutdown your Apex deployment from there. Specifics I'll leave to you.
    Earl

  • Replace a 2003 (not R2) File Server with a 2012R2 files server and preferably keep the same machine name and IP when finished

    I am wanting to replace a 2003 (not R2) File Server with a 2012R2 file server and preferably keep the same machine name and IP when finished.  For the moment I just need some "high level" guidance, little details can be worked out once I know
    which direction I will go.  I was considering that DFS might be a way to help get through the process although when finished the 2012R2 Files server will be by itself with no other file server planned at this time.  DFS can stay installed for maybe
    future purposes but clearly I wouldn't need the DFS Replication with only one machine.
    Here's a few details of the environment....
    1.  DC's are 2012R2 but it is still 2003 DFL because the old 2003 DCs are still present.  But likely they will be gone and the DFL elevated before I start on the File Server project
    2. Nearly all machines in the facility have a shortcut on the "All Users" Desktop that points to the existing old File Server.  Editing or replacing that shortcut would be a major pain,...hence why I want to keep the same machine name at least,
    and maybe the same IP if not too much trouble.  This way the existing shortcut would continue to work with the new 2012R2 File Server.  The UNC path represented in that shortcut is also configured into one or more of our major business applications,
    futher emphasizing the need to keep the UNC path the same throughout the process.
    3. The facility runs 24/7/365 but is "light" on weekends.  The political environment is such that there is little to no tolerance for any down time at all.
    4. Would DFS (based from the 2012R2 machine) be a good tool to get where I need to go?
    Thanks for any suggestions.
    Phillip Windell

    Hi Sharon,
    I've done some more reading and have a few new ideas to run past you....
    Yes regular DFS wouldn't help and the Namespace would still be different than how it was with just the old server. However I was thinking DFS Replication could replace the purpose of RoboCopy and it would keep the two locations "in sync" until I was ready
    to flip over to the new server.  DFS Rep can exist independently of a DFS Namespace, so a Namespace is not even needed. It needs a minimum of 2003R2 for the "later & better" DFS Rep but I believe 2003 can do an "in place" upgrade to 2003R2, so I would upgrade
    the old server to 2003R2 first.  As long as the DFS Rep on 2012R2 and 2003R2 will properly interact I think that will work.
    Thanks for the reg info on the Shares.  I'm debating if editing that would reg file would really be much better than manually creating the Shares on the new server while the DFS Replication was doing its job.  I'll probably export that Key as a
    safety move whether I use it or not.
    Once the DFS Rep is fully in sync and the Shares are in place on the new server, I figure I would then:
    1. Remove the DFS Replication Object (optionally remove DFS Services completely)
    2. Rename the old File Server to something else and set it to DHCP
    3. Rename the new File Server to the name I want to use and give it the IP the old server had.
    How does that sound?
    Phillip Windell

  • Can I put both RMI server and client in a same program

    hi everybody...
    I wanna know that can I use RMI server and client in a same program....My idea is like that I wanna use the same program for client and server....When I open my program, I can accept connection from other program and if I want to connect to others, I can also connect it. I expect you to understand my question. Here are the sample code for my program...
    package Chat.Rmi;
    import java.lang.*;
    import java.util.*;
    import java.rmi.*;
    import javax.swing.*;
    import java.net.*;
    import java.rmi.server.*;
    import java.rmi.registry.*;
    public class netKitManager implements netKitInterface{
        public netKitManager(){
            try{
            reg = LocateRegistry.createRegistry(4242);
            reg.rebind("NetKitServer",this);
            }catch(RemoteException re){
        public void DirectConnect(String ip){
            try{
            netUser = (netKitInterface) Naming.lookup("rmi://"+ip+":4242/NetKitServer");
            JOptionPane.showMessageDialog(null,"Connection succeded!");
            }catch(NotBoundException nbe){
                JOptionPane.showMessageDialog(null,"There is no server at specified IP address!");
            }catch(MalformedURLException mue){
                JOptionPane.showMessageDialog(null,"IP adress may be wrong!");
            }catch(RemoteException re){
                JOptionPane.showMessageDialog(null,"Remote exception occured!");
        public void SendMessage(String msg){
            try{
            netUser.SetMessage(msg);
            }catch(RemoteException re){
        public void SetMessage(String msg) throws RemoteException{
            chatKit.SetMessage(msg);
        private netKitInterface netUser;
        private Hashtable netUserList;
        private Registry reg;
    }

    Yes it can be done. I have done it.

  • UDP server and client

    Hi
    I have some problems with making the udp server and client. I must receive acknowledgement and if it will not come in timeout, I want to resend the packet... But I don't know how can I go to another state, when program is waiting for acknowledgement...
    Thanks

    Hm... It is something I have to do... (udp) I haven't any other choice, that's work from school.

  • Cannot install Crystal Reports Server 2008 and Client Tools on same machine

    I am having trouble setting up Crystal Reports Server 2008 with Client Tools on a new Windows 2003 SP 2 machine. The Server 2008 package installs OK (built-in MySQL server, built-in Tomcat 5.5 server). Reports run okay. But my customer wants to run reports that use Salesforce as a data source, so I tried to install Crystal Reports Server 2008 Client Tools (needed  for Salesforce support, apparently). I receive this error:
    'Business Objects product detected: cannot continue with install'. Installation of Client Tools immediately terminates.
    Oddly enough, when I uninstalled Server 2008, the Client Tools installed successfully. Then I tried installing Server 2008, and I got the same error message as with Server 2008. What the heck?
    Any ideas on how I can get Server 2008 and Server 2008 Client Tools to live in harmony on the same machine? We were able to do this with a (otherwise overloaded) Win2K3 server before.
    Thank you in advance for any help.

    Typically the client tools are installed with enterprise by default. If not then you would want to use add/remove in control panel and select them. The installer thinks you are trying to install enterprise on top of itself and thus the error.
    Regards,
    Tim

  • Installation of oracle 9205 database and client software on same machine

    Hi,
    I have installed Oracle 9205 on my laptop running on windowsxp sp2.
    I intent to create a Database and access the same using developer forms which again would be installed on the same laptop.
    Please help me in configuring this scenario.
    how to configure the listener.ora, what about sqlnet.ora and tnsnames.ora for the server part as well as the client part
    also what services need to be configured in windows xp
    Altaf

    Altaf,
    Problem is you don't see similar output from your lsnrctl status. Try rebooting your machine and make sure you see similar output.
    How exactly are you trying to connect to your service?
    Sqlplus sys/password as sysdba
    sqlplus sys/password@INS_LIST as sysdba
    $ lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-DEC-2008 13:46:06
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Start Date                16-DEC-2008 09:18:21
    Uptime                    0 days 4 hr. 27 min. 45 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=NROHILLA01.usi.corpusi.net)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
    Services Summary...
    Service "DSSXDB" has 1 instance(s).
      Instance "dss", status READY, has 1 handler(s) for this service...
    Service "DSS_XPT" has 1 instance(s).
      Instance "dss", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "dss" has 1 instance(s).
      Instance "dss", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Can FCP 7 and 10 run on same machine?

    Need FCP for past projects, but for new ones is FCP10 a good thing? Can I install them both and run separately for different projects?

    You must install FCP7 first, run all its updates and then install FCPX.

  • Setup server and client

    I am new in Oracle, so have some question to ask.
    How to set up server and client Oracle in same pc? Can suggest any document?
    which version of Oracle will be recommend?
    I using VB as a front-end.

    Hi,
    Start reading TFM for your version(click)
    . choose your version
    . read cover to cover the "Concepts book"
    . read the developper books
    Advisable version certainly is the last one: Oracle 10g Release 2.
    Regards,
    Yoann.

  • Can i run UDP  client and UDP  server socket program in the same pc ?

    hi all.
    when i execute my UDP client socket program and UDP server socket program in the same pc ,
    It's will shown the error msg :
    "Address already in use: Cannot bind"
    but if i run UDP client socket program in the remote pc and UDP server socket program run in local pc , it's will success.
    anybody know what's going on ?
    any help will be appreciated !

    bobby92 wrote:
    i have use a specified port for UDP server side , and for client define the server port "DatagramSocket clientSocket= new DatagramSocket(Server_PORT);"Why? The port you provide here is not the target port. It's the local port you listen on. That's only necessary when you want other hosts to connect to you (i.e. when you're acting as a server).
    The server should be using that constructor, the client should not be specifying a port.
    so when i start the udp server code to listen in local pc , then when i start UDP client code in local pc ,i will get the error "Address already in use: Cannot bind"Because your client tries to bind to the same port that the server already bound to.

  • I am using server and client systems when i am trying to open the browser in two or more machines it says that firefox is already running, i want to open the browser in all machines simeltaniously

    I am using server and clients machines in my office, here i want to open browsers in all systems simultaneously but i am unable open the browser, when i am trying to open the browser in the second machine it says that firefox is already open... pls. solve this problem
    Thank you

    You can't open one Profile more than once. You need a separate Profile for each browser on each PC that you open.
    https://support.mozilla.com/en-US/kb/Profiles

  • Is it possible to run VLM and lmtools on the same machine

    hi together ... is it possible to run VLM and lmtools on the same machine without any problems?
    the running system will be Windows Server 2008 R2 x64! maybe we will install the license server on the virtual server.

    Hi SvenNittmann,
    in general, it should be possible to run both tools (VLM and lmtools for FlexNet) on the same machine. But I wouldn't recommend you this way, because NI VLM is also build on top of FlexNet and sometimes you will receive ugly problems with the installation of both tools on the same PC. It is possible to use VLM in a virtual machine without any problems or restrictions. NI provides information about the usage of VLM in a virtual machine, like you can see here:
    Volume License Manager on a Virtual Machine - National Instruments
    http://digital.ni.com/public.nsf/allkb/5730FDDC97F9157E8625755F00749CFF?OpenDocument
    I also use VLM in a virtual machine and I could recommend you the same solution.
    Regards, Stephan

  • Redundant folders created in root of C drive of server and Client . I want to stop the same and want to automatically delete them from server and client .

    Redundant folders created in root of C drive of server and Client . I want to stop the same and want to automatically delete them from server and client .
    Please let me know the solution to delete them not manually . It should not create automatically .Is there a way we can change the path of creation.
    Is there a way that once the folfer is create should be automatically deleted once the task is done.
    Redundant folders are created in the root of my C drive all the time,
    folder names look like:
    09b0508d0bd2dbd70523
    56f51b81c1462bb378009ee4d5ed03
    02afe4378371907aca40ab

    This is a duplicate of
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/ae99c2d0-8dea-4c5e-8a79-17e08e9e5de4/sccm-2012-issue-folders-with-long-guid-are-created-in-c-drive?forum=winservergen#ae99c2d0-8dea-4c5e-8a79-17e08e9e5de4
    Jason | http://blog.configmgrftw.com

  • Running weblogic server and workshop on 2 different machines

    hi all,
    My computer cannot handle both the server and workshop running on it, at the same time.
    1) installed weblgic server, created domain on computer A.
    2) mapped the domain\source code(working in dev mode) on computer A to computer B.
    3) I open up the .work file in the mapped drive from workshop on computer B.
    Problem:
    Computer B never completes "Scanning .. source...", very processor intensive.
    Any help, very much appreciated.
    Novice!

    Workshop is a pig and the scanning thing spikes my CPU everytime (1.8Ghz P4 and 1G memory). Please make it better.

  • Can i run 9ias versions 1 and 2 on the same machine

    i need to install 9ias versions 1 and 2 on the same machine but in separate databases, is this possible? if it is possible are there any issues that i need to be aware of?

    You can install the portable Firefox 3.6.x version to access websites that do not work with Firefox 5+.
    *http://portableapps.com/apps/internet/firefox_portable#legacy
    *http://portableapps.com/apps/internet/firefox_portable/localization#legacy36
    *Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    *Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html

Maybe you are looking for

  • New Tab Data need to be Saved in Me22n

    Hi All, I ading a new Tab in Me22n T-code in the Item level and the tab name is Date. The scenario is like that in the date I created 4 fields there are 1) Expected Production Date 2)Expected Shipping Date Remaning 3)Actual Production Date  and 4)Act

  • What do you know, Safari is crashing...

    Hmm...I have a couple of crashes here. I've been patient. I've logged on as another user. I've thrown out plists and things, but I am at the end of my rope. I know this is an old machine, and I am not incredibly savvy. I have asked my old Mac to do p

  • How to i get to quick mask mode in photoshop 7.0

    how to get to quick mask mode in photoshop 7.0

  • Batch Rename PSD Layers to File Name Script?

    Hello, I just recieved several thousand .PSD files for a job containing a single layer (named "Layer 1") on a transparent background. I'm trying to find a way to batch rename the layer in each of these files as the file name, sans the file extension.

  • NetBeans and SQL

    Im trying to make netbeans link to a SQL DB but i get an error "no suitable driver" I have mysql-connector-java-3.0.8-stable-bin.jar mounted but it doesnt seem to work. I've also tried with mysql-connector-java-3.0.16-ga-bin.jar and get the same prob