• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help...

 
Matt R. Hansen
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently designing the typical old chat applet. Right now I am only attempting basic functionality.
The applet works fine when I access it http://localhost/testChat.jsp. When I attempt to access it from a remote machine the applet GUI will load fine, but apparently no socket is opened because the applet has almost no functionality. And no errors are displayed that I can see.
Also, there are no firewalls to block a socket from opening a port. I am using Orion 1.5.2 for an appserver. Any help would be greatly appreciated so I can move on with my life.
 
Matt R. Hansen
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client machine does display a securityException. But why? I do not want to have to sign the applet.
 
Tanveer Rameez
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I am in a hurry, so you can see some notes on applet-servlet/jsp chat server at my homesite: http://tanveer.freeservers.com/java.htm
Usually it is better to use applet-servlet/jsp communication using java.net.URLConnection rather than socket becoz sockets don't work so easily over internet. Sockets will work fine inside the same network.
regards
Tanveer
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!