Error when switching from local host IP to true IP

I'm using the basic java.net.ServerSocket and java.net.socket arrangement to make a very simple chat program (planning to build a mutlithreaded client/server a little bit later). For most of my testing, I've specified the IP for the client socket to connect to as:
Socket mySock = new Socket("127.0.0.1", 10101);
This would always work. However, when I moved to using this
Socket mySock = new Socket("xxx.xxx.xx.xxx", 10101);
or
Socket mySock = new Socket(InetAddress.getByName("xxx.xxx.xx.xxx"), 10101);
Both the server and the client blocked before this point:
Client -> See above lines (creating socket)
Server -> Socket sock = myServerSocket.accept();
Both the client and server are executing on the same machine. If I move the client to a different machine, while it connect properly then? Would a firewall block execution of this class in this manner?

If the server program is running on a machine at port PP whose IP address is xxxxx and you have a html page that resides in the same directory as the server and the client, and the html page properly refers the client class, then there shudn't be any problem in accessing the applet using http://xxxxxx/myhtml.html Check each and everything one by one.
-Uday

Similar Messages

  • Error when switching from flash to webdynpro compiler

    Hi,
    Deploying a VC application in flash works fine, but when I change the compiler to webdynpro I get the following error:
    The initial exception that caused the request to fail, was:
       com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No parser configuration entry for the tag HtmlView
        at com.sap.tc.wd4vc.xglengine.java.XGLParser.getConfigEntryForParser(XGLParser.java:269)
        at com.sap.tc.wd4vc.xglengine.java.XGLParser.parseTag(XGLParser.java:298)
        at com.sap.tc.wd4vc.xglengine.java.XGLParser.parseContainersInternal(XGLParser.java:192)
        at com.sap.tc.wd4vc.xglengine.java.XGLParser.parseContainersInternal(XGLParser.java:143)
        at com.sap.tc.wd4vc.xglengine.java.XGLParser.parseContainersInternal(XGLParser.java:199)
        ... 72 more
    What do I have to change to make it work?

    Hi Peter,
    7.1 is much more suitable for what you're trying to do. VC 7.0 does not support SOA services, since it doesn't support complex and clustered services. I highly recommend using VC for CE. We have a ramp up for 7.1.1 (EhP1 for 7.1) which is much better than 7.1 alone. Please let me know if you want to get some more info about joining the ramp up and I'll connect you with the right people.
    Best regards,
    Natty

  • I received an error message in Lightroom 5 , Lightroom encountered an error when reading from its preview cache and needs to quit

    I was wondering now that I deleted my preview cache after receiving the lighgtroom encountered an error when reading from its preview cache  and needs to quit  , light room 5 opened fine now , but  I now have no previews showing  up , all I get is blank gray boxes ...  have  I lost everything ?
    how do I get the pictures or previews back ...all my folders I had catalogued , now show only grayed boxes where the previews were ...  can I get this back ?

    I will check for the meta data.. as to hows this adobes fault....first let me ask do you work for or get paid for by adobe?  If the answer is no, which i presume it is...then that answers it... how is it , or better yet why is it a billion dollar company, has or offers no support, no phone number, no email nothing...but depend on third party people who may or may not know or give the correct info to help, and do this free, all the while adobe makes $$$ and runs smaller companies that may have actually better products by getting or buying off reviews etc..that only rave, but never mention issues...the issue im having has been reported by adobe users since version 1, yet has not been addressed or even mentioned...why shouldusers get little true support from adobe, get a product that has un addressed issues is messed up...it would be like ford making newer vehicles say a f150, advertising all the bells and whistles , but knowing since their 2008 model  that if you go over 70 mph for more than 100 miles the engine will just shut off, then have know way to contact them to solve the problem...had no mechanics to fix it...no warranty...that would be insane...but yet companies like adobe and microsoft do this all the time, but since its notlife threatening as driving a truck would be somehow we accept it as ok....yet it sickens me the hardearned money spent on their products, its an investment,  like whether or not to go canon or nikon..your investing in the company its not easy to switch once you make that intial choice...  adobe and microsoft continously advertise all the so called (al beit meaningless) upgrades or improvents which are more fluff than  worth while improvent, but the way they present them you feel you need them...if they went back to the true ethics of buisness and american pride they would focus moe money and attention to customer service,  and truly improving the product rather than how to sell more...but then they know like my camera example once you choose your theirs...sad...i had an adobe salesman out right lie to me and misrepresented a product, as i was having an issue getting sound to work in creating a video of my granddaughters birth...i was using an older version, told him all the info , he said if i upgraded i would have no trouble, so i did...the sound still didnt work . Then they suggested another program to convert the files more money down...the other company also makes video editing programs, once that work...and cost less...but i am all tied up in adobe spending hundreds all ready...sad ...very sad...now that ive had some issues and have gone back and done more researching i see all tge issues, many go back 10 plus years and have yet to be addressed...yet many otherless known third party companies had similar issues, corrected them , are cheaper, have support teams but arent pushed in every photo magazine etc...and arent known where giants like Adobe that dont address there issues have or offer no Adobe paid support, yet through their money and muscle to dominate magazines, and web, by controlling how things are precieved....sad in deed...the more i learn, and experience the sadder things are....but enough complaining sadily im invested in adobe for now till i get rich,  just want the crap to work...so i can get my cherished pictures , once in a lifetime pics of my granddaughter  back...to bad people have to place faith in a company and risk loosing all the pictures that mean something to them,and realize the comoany only truly cares about $$$...sad

  • Lightroom encountered and error when reading from it preview cache and needs to quit

    A power outage caused my Lightroom 5.2 to shut down without closing.  When I powered back up and opened lightroom it gives me an error "Lightroom encountered and error when reading from it preview cache and needs to quit" and then it says it will try to fix it the next time it opens. I have opened it 20 times and it is not fixing it. I removed the program completely and upgraded to 5.5 AND it is still giving me the same error.  Is my catalog corrupt or something? I had it set to automatically load the most currently used catalog, so it is not allowing me to open or start a new catalog either. HELP!!!

    Search the forum, this has been answered many times.

  • I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath  that is "Lightroom will attempt to fix this problem the next time when it launches."

    I'm unable to open up Lightroom 5, I get this message in a pop up box: "Lightroom encountered an error when reading from it's preview cache and needs to quit" Underneath  that is "Lightroom will attempt to fix this problem the next time when it launches."  It hasn't, what should I do? Thanks Shawn (Irish Se7en) .

    Can you try to rename (not delete!) the folder named "YOUR_CATALOG_NAME Previews.lrdata" and restart Lightroom?

  • "Lightroom encountered and error when reading from its preview cache and needs to quit"

    I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried uninstalled and installing the app and the error remains.
    Any Ideas here? Is there another app that may be telling it where to look for the cache and it no longer there? I was using a ramdisk for a bit but ditched it. Not sure if that has something to do with it but it seems suspect.
    Your thoughts?
    --Kenny Brandon Wilson

    Talked to Adobe support this morning, this is their response in case anyone else is looking for help. I'm running a Windows 7 box, LR 5.6.
      Gokul: Click on start and type %appdata%, then open roaming folder.
      Edward: ok
      Gokul: Open Adobe folder.
      Gokul: Open Lightroom folder.
      Gokul: Open Lightroom folder> Preferences.
      Edward: ok
      Gokul: Rename Lightroom 5 Preferences.agprefs file as Lightroom 5 Preferences.agprefsOLD.
      Edward: OK
      Gokul: Please check if you can launch Lightroom without any error.
      Edward: it shows me a welcome screen and is asking me to select my country
      Edward: aka, register the software
      Gokul: You can skip and launch it.
      Edward: LR catalog not found
      Gokul: Please select the catalog.
      Edward: my original catalog?
      Gokul: Yes.
      Edward: testing integrity of catalog
      Edward: loaded just fine
      Gokul: Okay.
      Gokul: Please check if you can re-launch it again.
      Edward: yes, it worked!
      Gokul: Excellent!
      Gokul: Since your preferences were corrupted you were facing issue so we renamed the preferences file to reset it.
      Edward: aha....ok
    All of my import/export presets were intact along with develop user presets. I'm happy as a clam for my $10/month!

  • LR encountered an error when reading from its preview cache and needs to quit.

    I have the 30 day trial version of Lightroom.  I was able to use it for one week, but the past 1.5-2 weeks, it has been locked up and giving this error message.  How do I resolve the problem?  And how do I reset the 30 day free trial?  I would like to have time using the product, before deciding on the annual contract.
    "LR encountered an error when reading from its preview cache and needs to quit.  Lightroom will attempt to fix this problem the next time it launches."
    Thank you.

    Delete the preview cache from the Lightroom folder in your Pictures folder if you used the default placement. It has the extension .lrdata.
    You cannot reset the trial period.

  • I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried

    I keep receiving this error every time I open LR, "Lightroom encountered and error when reading from its preview cache and needs to quit" and the app won't open. It said LR would try and fix this error next time I opened it but the error remains. I tried uninstalled and installing the app and the error remains. I have windows 8. Can anyone please help???

    Use Windows Explorer to open the folder containing your catalog. The normal location is Pictures\Lightroom. Locate a folder with the extension .lrdata and delete that folder. Then you should be able to start Lightroom again, and Lightroom will begin building and new previews folder. Do not delete anything else.

  • It says Lightroom encountered an error when reading from a previous cache and needs to quit. Light room will attempt to to fix the problem the next time it launches.

    how do i fix this. It says Lightroom encountered an error when reading from a previous cache and needs to quit. Light room will attempt to to fix the problem the next time it launches.

    Have a look at this thread.
    Lightroom encountered an error when reading from its preview cache and needs to quit.  Lightroom will attempt to fix this problem the next time it launches"."

  • Error Launching LR 5: "Lightroom encountered an error when reading from its preview cache and..."

    Error Launching LR 5: "Lightroom encountered an error when reading from its preview cache and needs to quit.  Lightroom will attempt to fix this problem the next time it launches."
    I've tried renaming my catalog.lrcat file.  I've copied over my most recent backup of the catalog.lrcat and that didn't work either.

    On Mac:
    PS - to open the previews "folder" (a "package" is just a "special" folder) on Mac, ctrl-click and choose "Show package contents.." - same way you open any other special folder, like .app or .lrplugin..
    Rob

  • Upgraded to 5.4 when opening lightroom get a message "encountered an error when reading from its preview cache and need to quite" tried this several time but get the same eror message

    Upgraded to 5.4 when opening lightroom get a message "encountered an error when reading from its preview cache and need to quite" tried this several time but get the same error message.  Says Lightroom will attempt to fix the problem the next time it launches but that is not happening.  How do it fix this?

    Delete the preview cache using your operating system. It is a folder whose name ends with Previews.LRDATA. Do not delete the Lightroom catalog, which ends with .LRCAT

  • Lightroom 5 is not opening it gives me an error message there is an error when reading from its preview cache and needs to quite

    lightroom 5 is not opening it gives me an error message there is an error when reading from its preview cache and needs to quite
    it also says it will attempt to to fix the next time it opens it doesn't do anything

    Check this thread. Your Previews Cache files are corrupted.
    Re: preview cache?

  • Lightroom encountered an error when reading from its preview cache and needs to quit.  Says Lightromm will attempt to fix the problem the next time it launches, but on every re-launch I get the same message.  Any clue as to how to fix this problem?

    I recently updated my HP laptop's OS from WIndows8 to WIndows8.1.  When I went attempted to open Lightroom5 I got the following message:
    "Lightroom encountered an error when reading from its preview cache and needs to quit. "
    "Lightroom will attempt to fix the problem the next time it launches"
    Every time I relaunch I  get the same message.  I'd like to understand what might be causing the problem so I can remedy and get back to my photo editing. Any clue as to how to fix this problem would be greatly appreciated.
    JPM

    reset your preferences, Resetting (or 'Trashing') the Lightroom Preferences file - Lightroom Forums

  • "Lightroom encountered an error when reading from its preview cache and needs to quit. How do I fix this

    Recently updated to Windows8.1 got the message:  "Lightroom encountered an error when reading from its preview cache and needs to quit.  Lightroom will attempt to fix the error the next time it launches"  Get the same message on multiple launches.  Anyone know how to fix this?

    Re: "Lightroom encountered and error when reading from its preview cache and needs to quit"

  • When backing up lightroom 4 catalog, get message "lightroom encountered an error when reading from its preview cache and needs to quit" this occurs during optimization stage of backup

    i upgraded from lightroom 4 to lightroom 5 and installed it on a separate hard drive. Initially had no problems util my computer crashed due to the failure of the drive on which Lightroom 5 was installed. Since having my computer rectified, i am unable to use lightroom 5 getting the message "lightroom encountered an error when reading from its preview cache and needs to quit"
    I can still use lightroom 4, however, i get the same message when i try to backup the catalog. This occurs during the optimisation phase of backup.
    I suspect it is related to Lightroom 5 creating a catalog from the Lightroom 4 files and cannot now locate those files or that they have been corrupted.
    Would appreciate any solutions / suggestions.

    You need to delete your preview cache and have Lightroom rebuild it.   Cache location can be found here.
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic

Maybe you are looking for

  • Can't uninstall or reinstall itunes/quicktime

    Thursday night I used itunes. Friday night it gave me an error when I tried to use it, saying that files were missing and I needed to reinstall itunes. I tried to do that and I was given to option to repair or uninstall itunes. I attempted to repair.

  • File Path Missing

    I cant relocate my original files because the file path is missing all together. The path is replaced by a singe dot (.). This has happend to alot of my pictures. I have tried to both reapir and rebuild the library. Nothing works. Anyone have a ide o

  • 2011 macbook pro cannot turn on

    Hello everyone. After I replaced my MBP's hard disk with a SSD, it cannot turn on. There is no reaction when I press the power button. The 6th light of the battery indicator (side) is green and is always on. There's no change of the indicator lights

  • HOW DB POOLING WORK AND HOW TO CREATA A DB POOLING IN JSP

    HI! I'm new in programming JSP and in web programming. I would like to learn how does the DB pooling work and how to create a DB Pooling. THANKS....

  • How does one tone down the power pack connect 'beep'

    When my S10 Netbook is already powered on (battery operation) and I connect the power pack, it emits a beep that's loud enough to wake the dead. Is there a way to tone it down? Thanks. Solved! Go to Solution.