Solved

url connection

Posted on 2004-09-19
2
165 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaScript/Java - Changing an image background color 4 67
Java Options in Zimbra Server 2 54
Desingning Refactoring existing code 2 24
eclipse console opening separately 2 21
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

777 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