Solved

url connection

Posted on 2004-09-19
2
162 Views
Last Modified: 2010-03-31
            java.net.URL helpURL = new
             java.net.URL("http://home.singtel.com/consumer/msg_center/internet_sms.asp");

I'm trying to connect to the above site.
But i'm currently under a firewall in my school and i can't get the connection to that site.
But when i'm at home, it works well.
Can anyone help? thanks.
0
Comment
Question by:TPoly
  • 2
2 Comments
 
LVL 92

Expert Comment

by:objects
ID: 12099076
Is port 80 blocked by the school firewall?
Or are you also trying to make connections on other ports.

Whats the stack trace for the error?
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 12099083
And check the proxy settings used by the browser and set your app to use the same.

http://www.jguru.com/faq/view.jsp?EID=9920
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now