• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to connect 2 servers from an applet residing in one of the servers

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet residing in one server.I will run that applet through browser in any client M/c.I want to connect
to another server having different Ip address ,using this applet.But it is giving security exception.

ex. I have got a AS/400 server,where applet classs is residing. I want to get information from AS400 server and put them in Unix server(different Ip config).If i am using the same applet ,it is giving security exception.

Can you please help me out from this problem .Or if possible can you give other suggession to accomplish this task.
Thanks
Satya
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The usual solution to this is to install some sort of port redirector on the machine from which the applet was delivered. So (for example) port 24761 on your AS/400 box is just passed through to port 80 on your unix box.
I used a Java program called TCP Reflector which I found on the web. Or you could write your own.
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic