Applet not communicating with servlet when given ip address (not localhost)

I have a strange problem with my applet -
I have a java applet and a Tomcat server running. I am able to communicate between the applet
and a servlet on the server (sending strings from applet to servlet, for example..) when the
URL that I write in the applet is -
"http://localhost:8080/ProjectName/ServletName "
BUT - when instead of that "localhost" I insert my ip address, it throws the exception:
java.net.ConnectException: Connection refused: connect
in the line -
urlConn.getOutputStream(); (urlConn is the HttpURLConnection that I created with the URL)
also, I did port forwarding (I have a router)
so that 8080 port will be directed to my computer, and tested the forwarding, and it does work.
Does anybody know why there is a problem?
Thank you.. :)

>
well, in the final version of the project the applet will be signed.. >Uh-huh..
>
but, I got tired of signing it every time I edited the code, so now I just simply run it as a "java applet" project
from the eclipse.. NOT as a signed jar..>Eclipse has Ant built in. Write a script that will compile/build/sign the jar for you, then build it to the point of being signed for every test run. (Just today I was making some changes to a signed applet project that does just that - I probably built it 25 times before I was happy with the changed code - not a problem.)
>
you think that's the problem ?>Yep. Not that I provide support for Eclipse, nor know how it goes about launching applets (trusted or sandboxed).

Similar Messages

  • When I click on itunes, it tells me that thesoftware required for communicating with ipods and mobil phones was not installed properly. I have not changed anything on my computer so I'm not sure what I should do? Help

    Help, When I click on itunes on my computer it tells me that the software required for communicating with ipods and mobil phone was not installed properly. I havent' changed anything. Does anyone know what I should do? Thanks

    See the second box of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • My iWork (pages and keynote) are not communicating with the iCloud. I haven't changed anything and all of the sudden there is no sync happening.  My iCloud account is fine as i can create documents on my iPad and they appear on iCloud.

    my iWork (pages and keynote) are not communicating with the iCloud. I haven't changed anything and all of the sudden there is no sync happening.  My iCloud account is fine as i can create documents on my iPad and they appear on iCloud. However, when i change documents on my mac (documents that are supposed to be in the iCloud), the changes do not sync with my other devices nor with iCloud.  Even when i create new documents on my mac and save them to iCloud, all seems okay and i can access them from my mac, however they do not show up in the iCloud and i can't access them with my other devices.
    Most recent version of mountain lion updated over a month ago.  New iPad in use for over a month.
    thanks

    The same thing is happening to me, Mail was fine about an hour ago and now is rejecting correct password.  Typical when today I'm waiting some important emails!

  • TS1717 Having trouble running iTunes version 11.0.2 on a Dell Laptop running Windows 7 Professional Service Pack 1.  Keep getting an error message "the software required for communicating with iPods and mobile phones was not installed correctly..." reinst

    Having trouble when I launch iTunes (version 11.0.2) on my Dell Laptop running Windows 7 Professional (service pack 1).  I get an error message indicating software required to communicate with iPod and mobile phones was not installed correctly.  Do you want iTunes to try to repair this for you?  I normally respond with OK and it immediately tells me "could not be repaired.  Please reinstall iTunes..."  I have done this a number of times to no avail.

    I also notice Quicktime is not getting installed at all.
    That one is normal nowadays (ever since the iTunes versions 10.5.x).
    The software required for communicating with iPods and mobile phones was not installed correctly. Do you want iTunes to try to repair this for you?
    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • IPod not communicating with iTunes

    When I open iTunes a dialog box pops up saying "The software required for communicating with iPods and mobile phones was not installed correctly. Do you want iTunes to try to repair this for you?" To which I answer yes, click the "Continue" button and wait....iTunes then opens up and another dialog box opens saying the same thing "The software required for communicating with iPods and mobile phones was not installed correctly. Please uninstall and reinstall iTunes" Tried this a couple of times but no success. And as instructed removed all the other apple programs as well (bonjour etc) Any help or ideas??? Its a gen 2 ipod nano

    hi eddie!
    The software required for communicating with the iPod is not installed correctly. Please reinstall iTunes to install the iPod's software." I have uninstalled and reinstalled all software several times to no avail. I also tried many of the diagnostics on the Apple troubleshooting section website, but it still doesn't work.
    i'm just making sure that i know what you've tried already, before we try working through some of the exotic causes of this error message.
    it sounds like you've seen this document:
    iPod shows up in Windows but not in iTunes
    ... have you also checked up on this possibility?
    iPod for Windows: Fast user switching in Windows XP is not supported
    love, b

  • Bridge and PS not communicating with scripts and automation.

    CS4 PS and Bridge is not communicating correctly.
    When opening an image from Bridge it opens whiteout any issues but when choosing Tools and PS and any form of automation or script it will not open and start the requested action.
    Then when choosing same or another action from the tools/PS menu I get the message that PS is currently busy processing another task and it asks me if I wish to cue the action.
    There is no difference if I chose cue or stop after this since nothing is happening how ever long I wait.
    If PS is not started it will start up the application but nothing more after that. I have reinstalled and repaired permissions both after and before.
    A colleague who also using PS CS4 is having the same hardware and is not having the same problem so I guess I am having a problem with some form of configuration.
    CS3 is working correctly on the same machine and is having no issues at all.
    Config is Macbook Pro 2.33Ghz 2gb ram OS 10.5.5 whit all the latest updates.
    TIA for you help or crazy ideas.
    Sven

    As I wrote above I have already repaired the permissions but I have also rebooted several times, I have done that before and after installs and removals off the application and I used the Adobe script CS4 cleaner script to completely remove the apps.
    The applications are all installed on their default locations and has not been moved at all and no names has been changed.
    Does anybody know any more thorough way of removing all settings and preferences for CS4 then that script.
    Maybe there are some remaining settings somewhere that I have not been able to remove.
    Are there any sort of total remover of selected adobe apps rather then having to remove all adobe stuff on the machine that is more that can do more then that script.
    Sven

  • Error message: "the software required for communicating with Ipods and mobile phones was not installed correctly....

    2 error messages when opening itunes: "The software required for communicating with Ipods and mobile phones was not installed correctly.  Do you want Itunes to repair this for you?"  When clicking yes another message indicates not able to remove services.  Another message is: "Service (ipod service) could not be installed.  Verify that you have sufficient privileges to install system sources."  I've uninstalled all Apple services (itunes, quicktime, apple software update, apple mobiles devices support, bonjour and apple application support and reinstalled itunes/quicktime - no change in error messages.  I cannot burn CDs using Itunes.  This all seemed to happen when I updated itunes to version 10.  I have a Windows 7 64-bit operating system on a Dell Inspiron Zino HD; the Itunes software is also 64 bit.

    See the second box of  Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Help DSCC agent not communicating with AppServer or Tomcat?!

    Installing Directory Server Enterprise Edition 6.3 From Zip Distribution on system running Solaris10 11/08.
    Cannot get DSCC to work with either AppServer or Tomcat.
    Both AppServer & Tomcat deploy DSEE WAR file and I can look at things that I have manually registered via command line. Cacao agent is running it is just not communicating with AppServer or Tomcat so it cannot commit any actions such as starting and stopping directory instances or creating new directories instances within the web app.
    Is this a bug that occurs only when doing a new install using the Zip Distribution?
    The Error message I get regardless if Appserver or Tomcat is:
    "Could not contact the DSCC agent on <server>. Use the command cacaoadm to check that the DSCC agent is installed and running on port 11169."
    I changed to port 11169 because it had a conflict on default port 11162.
    Output from cacaoadm & dsccsetup commands is follows:
    root@dsee:/ $ /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm status
    default instance is DISABLED at system startup.
    Smf monitoring process:
    8423
    8424
    Uptime: 0 day(s), 0:47
    root@dsee:/ $ /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm list-params
    snmp-adaptor-port=11161
    snmp-adaptor-trap-port=11162
    jmxmp-connector-port=11169
    commandstream-adaptor-port=11163
    rmi-registry-port=11164
    secure-webserver-port=11165
    java-flags=-Xms4M -Xmx128M -Dcom.sun.management.jmxremote -Dfile.encoding=utf-8
    java-home=/local/jre
    jdmk-home=/local/dsee6/private
    nss-lib-home=/local/dsee6/private/lib
    nss-tools-home=/local/dsee6/bin
    retries=4
    enable-instrumentation=false
    network-bind-address=0.0.0.0
    root@dsee:/ $ /local/dscc6/bin/dsccsetup status -v
    ## /local/webconsole/usr/sbin/smreg/smreg is MISSING
    ## /local/webconsole/usr/sbin/smcwebserver/smcwebserver is MISSING
    ## /local/dscc6/dccapp is present
    Sun Java (TM) Web Console is not installed
    ## /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm is present
    ## /local/dsee6/cacao_2/.configured is present
    ## /local/dscc6/lib/jar/nquickmodule.jar is present
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm list-modules -r
    DSCC Agent is registered in Cacao
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm status
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm list-modules
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm get-param network-bind-address
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm get-param jmxmp-connector-port
    Cacao uses a custom port number (11169)
    ## /local/ds6/bin/dsadm is present
    DSCC Registry has been created
    Path of DSCC registry is /local/var/dscc6/dcc/ads
    Port of DSCC registry is 3998
    Any work around or ideas on how to get DSCC working?
    Thanks!

    I started over and installed Glassfish and everything just worked. After the fact I think the real problem was related to the server.policy file. I think this was the problem because using the default appserver 8.2 that comes with Solaris has a different path and I got this same error when tried using tomcat also. When installing glassfish it uses this default path as in the server.policy example as follows so it just worked.
    Add the following lines in the {install-dir}/domains/domain1/config/server.policy file
    // Permissions for Directory Service Control Center
    grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/DSCC/-"
    permission java.security.AllPermission;
    Hope this helps some as I was really stuck and confused at the time and just started playing with the stuff. Growing pains. Thanks to those that replied.
    Thanks!
    Wences

  • SAP BI Client tools are not communicating with BO server

    Hi Experts,
    We've recently installed BI 4.1 . We're having few issues:
    1. When client is installed on different machine then it is not communicating with server. We've already tried few things like untick auto assign from Request server and manually assign static port but it didn't work .
    2. Our BO Server is running on AWS Cloud.
    3. Client is communicating when installed on server machine.
    4. Could you please help our how to resolve this error.
    5. CMC and BI launch pad are installed on server side as they're web browser tool and we need to install these on client machine as well. Qns is Do we need to install them or provide just URL link? If just URL like where to get these URL links.
    6. We can't see SAP Lumira and SAP Dashboard on Service market place to install. Where we can find these software on Service maket place?
    7. Could someone please send screenshot to install Dashboard, Lumira, Analysis office and Crystal report enterprise and crystal report 2013.
    8. Do we need to install all these on client machine?
    9. Could you please give me software list which should be installed on client machine?
    10. As i know there is life cycle management tool but it is not even available from server side not even on client side. Could you please recommend how it can be installed??
    Thanks in advance.

    1. When client is installed on different machine then it is not communicating with server. We've already tried few things like untick auto assign from Request server and manually assign static port but it didn't work .
    Could you confirm that you are able to ping the BO server from Client machine. Also use telnet command from commandline of  CMD in client machine. It will help to confirm that port communication is successful. Use ipaddress:cmsport for the system while logging into the client software. Update the hosts file entries at client machine with BO server name and ip address. Create an exception for BO installation location at client machine and check the results
    2. Our BO Server is running on AWS Cloud.
    3. Client is communicating when installed on server machine.
    4. Could you please help our how to resolve this error.
    5. CMC and BI launch pad are installed on server side as they're web browser tool and we need to install these on client machine as well. Qns is Do we need to install them or provide just URL link? If just URL like where to get these URL links.
    Check on the server side first where your web server is installed (I am assuming tomcat in your scenario). Use http://serverame:8080/BOE/BI and http://servername:8080/BOE/CMC (8080 is default port. If it has been changed use the correct port).
    If its working well. Perform the same activity using ipaddress:8080 at server. Next chek whether using the same URL you are able to get BILaunchPad and CMC pages and able to login from the same.
    6. We can't see SAP Lumira and SAP Dashboard on Service market place to install. Where we can find these software on Service maket place (https://service.sap.com)?
    Software and downloads-->Installations and Upgrades
    - D" SBOP DASHBOARDS (XCELSIUS)
    7. Could someone please send screenshot to install Dashboard, Lumira, Analysis office and Crystal report enterprise and crystal report 2013.
    Look into the admin guide for installation pre-requisites. These are available at Analytics Knowledge Center
    We have a drop down for all products. Look for the guide and proceed with the installation.
    8. Do we need to install all these on client machine?
    Dashboard,Lumira,analysis office, CRE and CR2013 are client tools and hence need to be installed on client machine.
    We also have CRS 2013 which is a server software and has to be downloaded from service market place. The li
    9. Could you please give me software list which should be installed on client machine?
    These vary according to user requirements. Check with developers for their softwares needed
    10. As i know there is life cycle management tool but it is not even available from server side not even on client side. Could you please recommend how it can be installed??
    In BI4.1 LCM comes by default. It is a server application. You can find it in CMC named as Promotion management and version management.
    Use the admin guide and installation guide for all of the above. It will help you.

  • Computer not communicating with printer(s) scanner

    I recently hooked up an Officejet  J6480 wireless printer. I also have a J5780 hooked up via USB. After hours, and I mean hours,  of being on-line with Tech Support through Chat and uninstalling and reinstalling, several times, and trying numerous things, neither printer has communication with the computer for scanning. The J6480 will scan if you go through Paint so it is functioning. The J5780 I haven't tested. I have downloaded drivers and every other thing that was suggested and the computer is not communicating with the printer for scanning. I have a Dell computer Inspiron 530S and am running Windows Vista (32)  May I also say, that I disable the Firewall & Virus programs when downloading, etc. so it doesn't interfer. I have tried everything but dynamite to get the scanner to respond. I've downloaded the Patch suggested in the drivers listings and everything. Im beside myself because the J5780 scanned fine until I installed the J6480. Now the window on the printer says there are no scan settings available in the window on the printer. Chat Techs, I think, are beside themselves too. I uninstalled the J5780, installed the J6480 and then went into 'Add a Printer'. Everything went fine except the scanner. I get a message from Solution Center saying there is no communication between the computer and the scanner. I think something is missing here. If anyone knows a solution I would be more than grateful. HELP!!!!

    Did you do an L3 uninstall of all HP software and start from scratch?  The L3 uninstaller should be on the install CD's for each printer.  You may have to do a search of the CD to find it.
    Tell me what router, ISP and encryption type you are using?  Also, what kind of security software are you using?
    Have you done a WIndows Update and updated your security system?  Do that between the L3 uninstall and the re-install.
    There is a lot going on here.  I'll hang in there with you...
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • The software required for communicating with ipod and mobile phones was not installed correctly

    ok i've seen this in several threads and haven't found one with an anwser. the software required for communicating with ipod and mobile phones was not installed correctly. of course when you tell it to repair it does not. this has happened several times now and only cure i have found is uninstalling itunes and reinstalling. works for maybe a few weeks then does the same thing and i start all over again with uninstall and reinstall. i tunes version 10.4.1.10  64 bit running on windows 7 64 bit and trying to sync with Iphone 3gs - so anyone have a fix for this or am i stuck reinstalling itunes every few weeks???

    "The feature you are trying to use is on a network resource that is unavailable.  Click OK to try again, or enter an alternative path to a folder containing the installation package "iTunes64msi"
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Macbook Pro 2011 DVI HDMI out does not work with TV when the power cable is connected

    My Macbook Pro (Early 2011) DVI HDMI out does not work with TV when the power cable is connected. If get the blue screen and then can use the macbook but nothing is displayed on the TV. If i go into display I can see that there are two screens but nothing displayed on the TV. If i take the power cable out at this point the TV shows the second desktop as expected. If i then reconnect the cable, the screen flickers, as though it is being affected by the power cable, and the screen goes blank on the TV. Only if i remove the DVI cable do i get the blue screen again. If i remove the power cable and reconnect it will do it every single time, so i cannot see it being a TV issue or a minor glitch.
    I have had this working previously but at the minute it seems to not be playing ball....any thoughts
    Thanks
    Dan

    BUMP
    Any ideas?

  • Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11.  I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies.

    Same thing is happening to me. Adobe has not responded to anyone about this error. It appears that Abobe XI is not compatible with IE 11.  I do not get this error when I use Chrome or Firefox. Only IE 11 does this. I have tried clearing cache and cookies. I even uninstalled and re-installed IE 11. It is still doing it.  I am surprized that a company like Adobe would just ignore our posts and leave us hanging this this.
    Error message is FAILED TO GET DISPATCH FROM IBRWSR2.  Then when you click on it the next error message says:  PHTML IS NULL. You have to click this error message twice and then the PDF finally loads. Happened every time
    Does anyone have a solution since Adobe will not respond?
    As a last resort I will try uninstalling the Adobe Reader XI and install Adobe Reader 10 instead. It seems to work ok. But when I try to install version 10 the Adobe site tries to install XI.  Any ideas?
    JimP08758

    It worked just fine for me.
    Many site issues can be caused by corrupt cookies or cache.
    * Clear the Cache and
    * Remove Cookies '''''Warning ! ! '' This will log you out of sites you're logged in to.'''
    Type '''about:preferences'''<Enter> in the address bar.
    * '''Cookies;''' Select '''Privacy.''' Under '''History,''' select Firefox will '''Use Custom Settings.''' Press the button on the right side called '''Show Cookies.''' Use the search bar to look for the site. Note; There may be more than one entry. Remove '''All''' of them.
    * '''Cache;''' Select '''Advanced > Network.''' Across from '''Cached Web Content,''' Press '''Clear Now.'''
    If there is still a problem,
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?
    Then restart.

  • My  MacBook is not communicating with my desk top to enable printing from my MacBook. I need to find out how to make that happen. I have a static IP address on my desktop but don't know what to do on the Mac Book.

    My MacBook is not connecting to the host computer for the printer. The host computer has a static IP address which is different from the IP address that the laptop is looking for. How do I change the laptop so that it looks for the host computer's correct IP? The laptop is connected to the router. I know this because I can get on the internet with the laptop.

    The host computer is Dell and the operating system is Windows 7.  The printer is an Epson, and it is wired to the host computer with a USB cable. It does have host printing turned on.
    The three have been working harmoniously for a long time.  The router had to be reset; and after that, the MacBook documents would no longer print.
    We created a new static IP address on the Dell but the MacBook is not recognizing it.  We have researched the internet trying to figure out how to make the MacBook locate and recognize the correct IP address from the Dell so they can communicate with each other.  The laptop is not communicating with the host computer because is is looking for the wrong IP.  The host IP is 192.168.1.245 and the laptop is looking for 192.168.15.237.
    I hope everything is clear.  The person who originally set it up is no longer available to help me.  Thank you for any help you may give me.

  • IPhoto will not open with pictures when I click on the icon.  It does show that it is open on top toolbar. What happened to my photos?

    iPhoto will not open with pictures when I click on the icon.  It does show that it is open on top toolbar. What happened to my photos?

    Did you run any updaters recently, i.e. like just before this happened?  Try this first fix: make a duplicate copy of the library and try the following:
    1 - delete  the iPhoto preference file, com.apple.iPhoto.plist, that resides in your Home/Library/Preferences folder. 
    2 - delete iPhoto's cache file,, Cache.dbt, that is located in your Home/Library/Caches/com.apple.iPhoto folder. 
    3 - reboot, launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences..
    OT

Maybe you are looking for

  • Unable to highlight text in my PDF files

    Iam unable to highlight text in my PDF files ,The tool shows in the toolbar and  i am able to select it .But when i go to the related text which i wish to highlight ,nothing happens . kindly advise, what am i doing wrong. The comment tool is working

  • Inserting "Reference Data" tab in CIC Complaints / Item Details

    Dear all, When entering in CIC (WinGUI), and choosing the operation "Complaint", in the correspondent view "Item Details", the tab "Reference Data" is missing. This doesn't happen outside CIC0 (e.g. trx. CRMD_BUS2000126 - Maintain Activities). We fol

  • Can I watch fios tv on my computer?

    Im sorry if this has already been covered, but I have looked and did not find an answer. Is there any way to watch fios tv on my computer and if so, how would I accomplish this? I have tv/internet and phone. thanks so much if you can help!

  • Centro restarts when trying to update.

    My Palm Centro (Sprint) has been trying its best to update itself every night. I believe it's around 5:00 am. Every time it does this, it alerts me that it can't establish a connection. Then, within a minute of this, it restarts itself. Even if I can

  • How do I enlarge PS CC UI icons?

    How do I enlarge the UI on Photoshop CC on my Lenovo Yoga2 and retain the 1900dpi screen resolution?