• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error when connecting from secured url

 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If i try to launch my applet from normal http url its launching. but if i try to launch from https url its throwing tcp/ip connection error. How to resolve this issue.please help me.

Fire wall is also in Off mode.
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with JDBC.

Is the HTTPS port open to serve your request ?
 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope, its..because other asp pages can able to connect to the database.The probelm is only with my applet
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Your applet does not load. This is not indicative of a problem with a database connection / JDBC

2. If your applet does load but cannot make a JDBC connection with a DB that is another question all together.

Is your applet signed ? Does your java console throw an error ?

ASP pages are hosted on some other type of server. Not related to java
 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. My applet is a signed one. Its showing "com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect"

all asp /java are with in the same server machine.

2. Applet is loading but it was unable to connect to the database.
 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its showing some warning stating as " Name of the site does not match with the name of the certificate".
 
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!