Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3615264
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:21:06+00:00 2026-05-18T22:21:06+00:00

Through java applet I am trying to get socket connection from a client to

  • 0

Through java applet I am trying to get socket connection from a client to the server. I encountered “Access denied – SocketPermission”. Please let me know the changes I need to make in the Applet and in the server program.

Thanks,
John

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T22:21:07+00:00Added an answer on May 18, 2026 at 10:21 pm

    Applets can connect only to server they were downloaded from. This restriction exists for security reasons.

    So, if for example your applet’s code attribute is http://mycompany.com/myapplet you have to connect to mycompany.com from your applet. Otherwise you will get security exception.
    If your really need to connect to other place you have to sign your applet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to do multicast dns on OpenSuSE through a trusted java applet<->, and
I am trying to write a Java applet that will read from a user's
My Java application is started from within a native program through java.dll. This native
I want to facilate my client to run java program through UNIX command prompt
I'm trying to work my way through a Java Tutorial . The author wrote
I have to replace the content of this xml string through java <My:tag>value_1 22&#xA;value_2
I've been reading through a lot of the rookie Java questions on finalize() and
Some ways to iterate through the characters of a string in Java are: Using
How do I set Java's min and max heap size through environment variables? I
I have a java script code that works fine when run through a browser,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.