Applet fails in Linux but works on Windows and MAC

Hey I've been testing my RMI Chat and everything seems to work fine when I connect to it from a MAC machine or Windows machine but when I try to connect on Linux (openSUSE) the applet gets a connection timeout.
The applet will load initially but when it connects to the server, I get a connection timeout exception. The exception is:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
     java.rmi.ConnectException: Connection refused to host: 192.168.1.103; nested exception is:
     java.net.ConnectException: Connection timed out: connect
     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325)
     at sun.rmi.transport.Transport$1.run(Transport.java:153)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
     at java.lang.Thread.run(Thread.java:595)
     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
     at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:124)
     at ds.rmi.server.ChatServerImpl_Stub.registerClient(Unknown Source)
     at ds.rmi.client.ClientUI.start2(ClientUI.java:360)
     at ds.rmi.client.ClientUI.register(ClientUI.java:282)
     at ds.rmi.client.ClientUI.start(ClientUI.java:334)
     at sun.applet.AppletPanel.run(AppletPanel.java:420)
     at java.lang.Thread.run(Thread.java:595)The address to connect to the Chat is: 192.168.1.102:8080/dschat and the 192.168.1.103 is the address for the linux machine.
Has it got to do with the /etc/hosts?? I also have java.rmi.hostname set in the server class
Thanks in advance for any help
Brian

Check to see if you can access your server from other machines over the internet using telnet. That is in command prompt go to the drive that has the OS. Say it is C:
Then write:
C:\>telnet <your servers external ip address> <port number that you are trying to access>
If everything is fine you will get a blank window with the cursor blinking on the top left hand corner of the window.
Generally this connection timed out exception occurs when the client can't find the server.

Similar Messages

  • Working with windows and mac

    I have a TC 500GB is it possible to back up windows and mac in same time. Please help.

    DdeGannes many thanks for this.  Would it be a simple case of backing up by external drive, formatting and then putting the files back?  Also in the unlikely event that I have a video file more than 4GB am I likley to encounter any problems with this?
    Thanks
    Tom.

  • I have a small code that fails in FF but works in ie and chrome

    Following is a pop up which fails in FF. works fine in ie and chrome
    <pre><nowiki><a href="audioplayer.php" onClick= "window.open('audioplayer.php?
    mkt=xyz.mp3','myWin','width=430, height=100');return
    false"><img src="img/audioicon.jpg"></a></nowiki></pre>

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Airport express: no sound with iphone but works with ipad and mac

    Hello,
    I have a problem with my airport express. With my iphone (5, ios8) i can connect to it but there is no sound when i play something. However, when i connect to it with my mac (mini, 10.9.5) or ipad (ios8), everything is fine. I tried restarting of all the devices, including the router, but it does not help. There is no problem with the iphone; streaming to apple tv works fine. Does anyone know how to fix this, or what could be the problem?
    Bastii

    Bastii
    Did you resolve this I have the same problem with all my mobile devices iphone 5, ipad mini and ipod touch 5th Gen all wuiing latest software.  It also works fine with my PC and iTunes.
    I have managed to get sound on the odd occasion for a few minutes but drops out, it also stops if I swap back to the mobile device and back to the airport express (this never works).

  • Lightroom: Working with Windows and Mac OS

    Previously I have been using MS Windows forever.  Now I have seen the light and bought a MacBook Pro.  My problem is that I cannot open my Lightroom Catalog on the MBP.  I believe this is to do with the file system the drive is formatted to (NTFS not FAT32?).
    I store my catalog AND original raw files on the external drive.  I understand this is not best practice however I have a notebook for mobile work and a desktop PC with a calibrated screen for heavier work.  The notebook is a MBP and the desktop is a Windows PC.
    My question is, is there a way of formatting the external hard disk so it can be used by both systems?  If so, would simply moving all the content to another drive, formatting and then moving back be sufficient ?  Also I have no idea how to format a disk from Mac! (I am new to apple)
    Many thanks for any advice.
    Tom.
    MBP is a 2014 MBP Retina
    On desktop PC Windows 7 Professional is being used

    DdeGannes many thanks for this.  Would it be a simple case of backing up by external drive, formatting and then putting the files back?  Also in the unlikely event that I have a video file more than 4GB am I likley to encounter any problems with this?
    Thanks
    Tom.

  • Online backup for Windows and Mac

    Is there an online backup service that works with Windows and Mac and lets you use the same login? Meaning, one service, one service to pay and same login? Also, the service shouldn't bill by each desktop (as Mozy does) but instead by overall space needed.
    I currently use one service for Windows and another for Mac. I'd like to consolidate everything.

    That's always the risk, it's what happened to MediaMax (though in their case it was technical incompetence). They've been around for at least a year, but I can't offer any guarantees, obviously.
    the MobileMe idisk might be a possible solution but it's not brilliant with Windows.

  • Re: Select statement fails under Express, but works underForte when usi

    Hi there,
    I have logged this with Forte and it as been recognized as a bug ( #46554 ).
    The Express methods you need to look at if you want to modify this behavior
    are :
    1 - BusinessQuery.BuildQuery() starting at line 217
    2 - SqlQuery.GetWhereText() starting at line 60
    We have gotten around the problem by modifying what Express generates by
    changing it from ( col1, col2 ) in ( select col1, col2 ... ) to ( col1 +
    col2 ) in ( select col1 + col2 ... )
    Just one thing i'm not sure that the '+' is standard on every DBMS for
    concatenation.
    We are using SQL Server 6.5
    Hope this helps.
    Christian Boult ([email protected])
    Programmeur - Analyste
    Influatec inc.
    -----Original Message-----
    From: Metcalf, Roger <[email protected]>
    To: '[email protected]' <[email protected]>
    Date: Thursday, May 06, 1999 1:55 PM
    Subject: Select statement fails under Express, but works under Forte when
    using DB2
    Express sometimes (e.g. with nested windows) generates SQL with a select
    subquery, e.g.
    select x1, x2 from t1 where (x1,x2) in (select x1,x2 from t2.....)
    This fails on DB2 with a message that the comma in the where clause (x1,x2)
    is not allowed.
    This works on Oracle.
    Does anyone have a workaround or other suggestion?
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    joe.meszaros wrote:
    (SELECT ? AS Id, ? AS UserBytes FROM dual)I suggest that you test to see if that statement and ONLY that statement works at all.
    There are rules for bind variables and that statement certainly looks suspicious.
    If you can't get that to work then the rest of the attempt is pointless.

  • Re: Select statement fails under Express, but works underForte whenusin

    Roger,
    This was a bug with Express and was fixed in Express E.2.0.L.0.
    You might be able to get more details on Forte's website.
    Ajith Kallambella M
    From: "Metcalf, Roger" <[email protected]>
    Reply-To: "Metcalf, Roger" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    Subject: Select statement fails under Express, but works under Forte
    whenusing DB2
    Date: Thu, 6 May 1999 11:55:19 -0400
    Express sometimes (e.g. with nested windows) generates SQL with a select
    subquery, e.g.
    select x1, x2 from t1 where (x1,x2) in (select x1,x2 from t2.....)
    This fails on DB2 with a message that the comma in the where clause (x1,x2)
    is not allowed.
    This works on Oracle.
    Does anyone have a workaround or other suggestion?
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>_______________________________________________________________
    Get Free Email and Do More On The Web. Visit http://www.msn.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    joe.meszaros wrote:
    (SELECT ? AS Id, ? AS UserBytes FROM dual)I suggest that you test to see if that statement and ONLY that statement works at all.
    There are rules for bind variables and that statement certainly looks suspicious.
    If you can't get that to work then the rest of the attempt is pointless.

  • Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click w

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

  • Select query not working in Dev but working in QA and PRD

    Hi All,
    I have a select query with inner join which is not working in the DEV but working in QA and PRD. Anyone has any idea why is it happening, I think it to be a basis issue. Just want to confirm if anyone has any other idea.
    Thanks in advance,
    Barjinder Singh.

    Hi Barjinder Singh,
    In development you can't find the records for the table.
    In testing system only you can test even the program(report).
    If it is the DEV system you can't get the data.
    Go and see into the table wether it has records or not(in DEV system).
    It doesn't has the records in DEV system.
    Regards,
    Balakrishna.N

  • My Isight is not working on skype and yahoo messenger but works on photobooth and ichat

    My Isight is not working on skype and yahoo messenger but works on photobooth and ichat.
    Ive reset my SMC and PMU but it still does not work. Only black screen appears on skype with a loading sign that takes so long. The light signal on the cam doesnt turn on as well which indicates that it is really not working.

    Regarding Skype, post in the Mac Skype forums on Skype's website.  It's where all the Mac Skype users hang out.
    Regarding Yahoo, contact its customer tech support department.

  • My external hard drive ejects when copying data. It works on windows and ubuntu. Are there any fixes?

    My external hard drive ejects when copying data. It works on windows and ubuntu. Are there any fixes?

    mine do the same thing... its one of the bugs from the 10.6.8 update

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

  • Share iTunes libraries between Windows and MAC

    Hi all i've an wifi via "Base AirPort" i've an HD shared between MAC and Windows sistem via the BASE, the iTunes library that i've stored in the HD is non redable for iTunes on Windows because it need an *.itl file...
    How can i share an iTunes library between Windows and MAC???

    I would like to report back that after struggling for months to get Tune Ranger to work that it is complete rubbish. The first time I tried to sync my libraries (between an empty iTunes library and my existing one) it created duplicates all over the place in my library and generally made a huge mess of everything. The support person (who I suspect is the only person over there) gave me some guff about my id3 tags being corrupt but it was clear that every song that appeared in a playlist was getting duped. Once I fixed this (many weeks later) I tried a one way sync after fiddling with the preferences of Tune Ranger to try to make it work, but it simply wouldn't.
    I don't know if anyway has had success using TR where they are also trying to sync playlists, but if you have, I would certainly like to know what you settings are.

  • Need to open word document from flash projector on Windows and Mac

    Hello,
    I'm creating a flash program that will be put on a dvd. And the dvd should function well on both windows and mac.
    I'm trying to open a word document on click of a button. I used geturl but it works only on windows but on mac it only opens a blank browser.
    This is urgent and would be really grateful if I get any help to resolve this problem
    Thanks,
    Sunira

    I kind of doubt you could get Safari to open MS Office files. Short of actually getting MS Office for the Mac, the most workable option might be to get NeoOffice/J (a Mac-friendly version of OpenOffice from http://www.planamesa.com/neojava/en/index.php. It won't display some Office files 100% correctly (depending on how complex they are) but it can open and save them.

Maybe you are looking for

  • Can't open Mozilla FF in Program Files

    I print the NY Times Crossword every night. Since I got my new computer (Windows 7 Home Premium, 64 bit, Firefox 3.6.10) my bookmarked Puzzle link causes FF to crash every time. In this forum I thought I found the fix. It said to go to Program Files/

  • Interactive report code plz

    need an  interactive report to list the purchase orders details for a vendor that has interactive drill down options to give the detail of vendor from vendor master.

  • Missing iView for Business Events in MSS 1.31

    Hi, We made an upgrade from ERP 4.7 to ECC 6.0, and we can't find the iView "Business Events". Do you know if this service still valid in the version 1.31 of MSS?. In the previous version the tecnical name of the service was com.sap.pct.hcm.eeprofile

  • Access database in a WAN

    Hello: I have to develop an application in Director that will use one Access Database in two LAN in different cities. So I will need to connect these LAN's via Internet. (10 users in every LAN with XP client) Do you think DatagripNet is OK for this p

  • Convert Informix "with resume" feature in stored procedures to Oracle PL/SQL

    I am trying to convert an Informix stored procedure with the "return value with resume" feature into Oracle PL/SQL. So far, all I have gathered is that I need to use packages and reference cursors. What is hazy is that how and when does this value ge