Network error IOException: network is unreachable
Environment:
SQL Developer 1.5.5 running on Windows XP Pro SP3
Connecting (or trying) to SQL Server 2000 at remote location.
I can 'ping' the server and have downloaded and added the JTDS JDBC driver from Sourceforge.com to the Tools->Preferences->Database->Third Party JDBC Drivers
I am using a 'dbo' account into the database I'm trying to reach and migrate. I am using port 1433 as directed by the remote DBA.
Unfortunately I'm getting the above error which is very informative. :-(
Any ideas on how to resolve, research, debug, etc.???
How can I insure that the JTDS driver is being used?
Many thanks!!
-gary
Gary,
first of all you can test the connection using the MS SQL Server ODBC driver which is commonly installed on all newer Windows releases by default. This allows you to check the connect details you got and also you have access to the SQL Server
Once checked now verify the SQL Developer installation:
In Tools-> Preferences please check again the jtds-1.2.jar file is shown in the Database -> 3rd party JDBC drivers.
Next step is to add a new connection.
Enter the connect details and manipulate one value by explicite setting a wrong value.
With a wrong hostname that doesn't exist the test button will generate an error: unknown server hostname
Specifying a wrong port will fail with cannot connect MS SQL Server running on <hostname> if something is listening on this port on the target hostname -
or if nothing is listening on the port the Network IO exception - could not create socket is raised.
If you still can't proceeed - then you might think about the offline source model migration.
Similar Messages
-
hi...i am tryin to connect to sqlserver2000 ....i wanted a dsnless connection...i have downloaded jtds driver...set the classpath..no joy..i'm connecting to sqlserver's default port 1433..i also confirmed that sqlserver tcp is enabled...still gettin the same err:
java.sql.SQLException: Network error IOException: Connection refused: connect
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java
:385)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java
:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at SQLServerConnect.getConnection(SQLServerConnect.java:27)
at SQLServerConnect.displayDbProperties(SQLServerConnect.java:44)
at SQLServerConnect.main(SQLServerConnect.java:80)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSoc
ket.java:304)
at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:255)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java
:310)
... 7 more
Error Trace in getConnection() : Network error IOException: Connection refused:
connect
Error: No active Connection
i even tried connecting to the port 1433 thru telnet...err:Could not open connection to the host, on port 1433:connection failed...
i thought it cud b a firewall issue...disabled my windows firewall..no joy..
can ne body help me with this....need to solve this desparately
thanks in advance
judeOld, but still coming up in google searches. Here's the solution that worked for me:
Dynamic Port Allocation explained:
http://support.microsoft.com/kb/823938
How to: Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager)
http://support.microsoft.com/kb/823938
In case that dissappears:
To assign a TCP/IP port number to the SQL Server Database Engine
1. In SQL Server Configuration Manager, in the console pane, expand SQL Server 2005 Network Configuration, expand Protocols for <instance name>, and then double-click TCP/IP.
2. In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear, in the format IP1, IP2, up to IPAll. One of these are for the IP address of the loopback adapter, 127.0.0.1. Additional IP addresses appear for each IP Address on the computer. Right-click each address, and then click Properties to identify the IP address that you wish to configure.
3. If the TCP Dynamic Ports dialog box contains 0, indicating the Database Engine is listening on dynamic ports, delete the 0.
4. In the IPn Properties area box, in the TCP Port box, type the port number you wish this IP address to listen on, and then click OK.
5. In the console pane, click SQL Server 2005 Services.
6. In the details pane, right-click SQL Server (<instance name>) and then click restart, to stop and restart SQL Server. -
SQL2000 - Network error IOException: Connection refused: connect
I am having trouble connecting to SQL Server through SQL Developer 1.2.1 Build 32.13.
I am on XP Profesional SP2, had downloaded and install jtds-1.2.2 and when i try to connect i am getting the error, 'Status Failure - Network Error IOException: Connection Refused: connect'
my default port is 1433
i have enabled the TCP/IP at the Sqlserver and also disabled the firewall
i don't have this problem in sql2005, but sql2000 send me this error..
Can anyone help me??It probably isn't a sqldeveloper problem. Try to pin down the differences between your 2205 installation and your 2000 installation.
-
SOAPException: Network is unreachable
Hi
Having deployed my webservice as described in
Deploying webservice java client in 9i database (ORA-29535)
I am now getting the above error message, which in full is
[SOAPException: faultCode=SOAP-ENV:IOException; msg=Network is unreachable
Network is unreachable; targetException=java.net.SocketException: Network is unreachable
Network is unreachable]
at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765)
at org.apache.soap.messaging.Message.send(Message.java:125)
at ehapack.Area_x0020_serviceStub.GetArea(Area_x0020_serviceStub:40)
at ehapack.IMKAreal.Tjek_IMK_areal(IMKAreal:201)
The webservice client works fine when running in JDEveloper standalone.
Is there some kind of network prot (80) that I should check on the database server or what is the problem here?
regards,
MartinOk, seems the grant cleared the 'network unreachable' error!
But now I get the following, which has not been present at all before:
java.lang.NoSuchMethodError: Error detected by bytecode verifier when class was created
at org.apache.crimson.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:158)
at org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:82)
at org.apache.soap.util.xml.XMLParserUtils.getXMLDocBuilder(XMLParserUtils.java:138)
at org.apache.soap.messaging.Message.receiveEnvelope(Message.java:148)
at ehapack.Area_x0020_serviceStub.GetArea(Area_x0020_serviceStub:58)
at ehapack.IMKAreal.Tjek_IMK_areal(IMKAreal:229)
Error -29532: ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoSuchMethodError: Error detected by bytecode verifier when class was created
8:28:01 Execution failed: ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoSuchMethodError: Error detected by bytecode verifier when class was created
What could the cause be? Should i recompile all java classes? -
Ical failed because the network is unreachable
Please help! I cannot get my ical to sync to my mac.com account. I keep gettting an error message that says "The connection to account “[email protected]” failed because the network is unreachable". My calendar is synced correctly on my iphone and on my iclound.com account, but it will not sync to my iMac ical account. Please help!! I am getting so frustrated!!!
First make an iCal backup: Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
Go to iCal > Preferences > Accounts and remove all references to MobileMe / .Mac / iCloud you might find using the minus "-" sign at the bottom.
Go to iCal > Quit iCal
Go to Apple > System Preferences > iCloud > Sign Out and then sign back in.
If your password doesn't work go to https://appleid.apple.com to reset your password.
Close System Preferences
Go to iCal > Preferences > Accounts and make sure that "iCloud" is now listed.If iCloud is not listed, use the plus "+" sign at the bottom to add it back in.
If the issue persists:
1. Go to iCal > Quit iCal
2. Remove the following to the trash and restart your computer:
Home > Library > Caches > com.apple.ical
Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
--- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard. You will see "Library" in the menu.
3. Launch iCal and test.
If the issue persists:
1. Go to iCal > Quit iCal
2. Remove the following to the trash and restart your computer:
Home > Library > Caches > com.apple.ical
Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
--- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
3. Launch iCal and test.
Hope that helps. -
Network remains unreachable after much googling - wiki
Hello. I just installed Arch and in the command: ping -c3 8.8.8.8, it responds that Network is unreachable. I did much googling and I read many articles on wiki, but nothing changed.
In the command ip a, it says that my wired Ethernet is the enp4s0, and the wireless wlp3s0. Even the command systemctl enable [email protected] did not help at all...
Internet connection exists when I use the live CD for installation Arch.To reiterate a point I had to make on your previous thread from yesterday:
Trilby wrote:Konstantinos, this is only meant for your benefit, but perhaps archlinux isn't right for you yet ... The errors above suggest that you will have a hard time following the wiki and man page documentation - this will likely just lead to much greater frustration with archlinux even if you get it installed. So perhaps tinker with some other distros for a while first.
https://bbs.archlinux.org/viewtopic.php … 0#p1534290
I truly believe arch is not a good fit for you currently. And if you decide to try to push your way through, that is up to you, we would welcome you and do our best to help. But if you continue as you are in this thread, you will quickly wear out that welcome. -
I've been at this for the third weekend in a row now and still can't get it. I've read all the previous posts, read the wiki, read everything but my network still isn't working. I can install arch easily enough (nice job with the new installer) but like I said, I can't get the network.
I've got a four port modem/router and have a static ip. According to the wiki and the other posts I've read my rc.conf file is setup correctly (I think). Straight after an install of arch I try the following 'pacman -Sy'
then it comes back saying
current locale is invalid...
error:failed to synchronize current: Transient resolver failure
and basically continues on like this, saying failed to synchronize, for another 6-7 lines.
When I try 'ping 192.168.1.1' It comes back with
connect: Network is unreachable
The relevant bit from my rc.conf file
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
Because I don't have the net working I can't 'pacman' and graphical interface yet so I'm still on the command line making it difficult to copy everything down here. Any help would be fantastic, thanks.
Last edited by slimdog360 (2007-05-26 03:20:44)To manage networking in your Linux box, you need to know at least two command as the following:
1. If you want to set IP address for your PC as 192.168.0.2/24, use this command:
#ifconfig eth0 192.168.0.2 netmask 255.255.255.0
2. If your gateway is 192.168.0.254:
#route add default gw 192.168.0.254
If you want to set up DNS server, so that you can access websites, for example:
open /etc/resolv.conf file and add the following entry:
nameserver ip.address.of.dns.server
If there is a dhcp server in your network, the quickest way is:
#dhcpcd eth0
Use Ping to troubleshoot the network problem. -
[Solved] connect: Network is unreachable
After 5 unsuccessful Arch Linux installations, I've got two that installed correctly. The first time, the network worked fine, and I was even installing it over SSH. After booting from the installed system instead of the live CD, it can't connect to the network, I get the following message when I try to ping anything, even my router:
connect: Network is unreachable
I've tried installing Arch again, because nothing on the internet seemed to fix my issue. After installing, I'm getting the same issue.
It appears it's failing to start eth0 because eth0 times out.
Last edited by Novicode (2013-06-24 15:43:52)henk wrote:
I think 'systemd' should be 'systemctl'.
Try
ip link
to see if your device is still called eth0.
sorry about that. I did mean "systemctl".
Novicode wrote:
henk wrote:
I think 'systemd' should be 'systemctl'.
Try
ip link
to see if your device is still called eth0.
What exactly should I look for? It spits out a bunch of info, but I'm not pasting it all here, as I can't copy and paste using SSH and its on a different computer, in a different room.
that command gives you an enumerated list of your network interfaces. You should look to see if you have interface named eth0.
Last edited by cris9288 (2013-06-24 14:44:58) -
Clear archlinux says network is unreachable
I installed clear archlinux system from CD
now I want to install serveral packages
I add line in some conf file about
http_proxy = "http://10.0.3.1:4000"
Yesterday i succsessful downloaded several packages,but now
i receive
network is unreachable
I looked to ifconfig - everything is perfect, proxy server squid on 10.0.3.1 works without any authentication,
the resolv.conf didn't changed.grep is your friend.
-n Prefix each line of output with line number
-i Ignore case distinctions
-R Search all subdirectories (recurse)
http://10.0.3.1:4000 The pattern you want to search for
/etc The directory you want to look in (in Arch, most configuration files will be in the /etc directory)
grep -n -i -R http://10.0.3.1:4000 /etc -
Hi
I have deployed a WAR file successfully on
standalone( win os) / 10AS server Rel2 ( Linux )
But some times I get this Error ONLY on 10AS server Rele 2
"javax.servlet.jsp.JspException: Error: IOException while writing to client!"
Plz can some body tell me why am i getting this error.
Is this a J2ee Container Problem?
with regards
KarthikHi Form
Plz some body explain me why am i getting this error not so frequently
with regards
Karthik -
HTTP 500 Internal Server Error IOexception PI 7.3
Hi Expert,
We are using PI7.3. Now I have a asynchronous SOAP to IDoc scenario. When I send a soap message to PI which uses SOAP adapter, I got an error back saying "Server returned HTTP response code: 500 for URL.. IOException". I used to work in another company with PI 7.0. This scenario is very similar with my old one and I used similar codes in my java program to send SOAP message. It worked very well before. But now it does not work in PI 7.3. In my java program, I set up like this;
URL = PIHOST:port/XISOAPAdapter/MessageServlet?channel=:Business System:CCname
httpConn.setRequestProperty( "Content-Length", String.valueOf( b.length ) );
httpConn.setRequestProperty("Content-Type","text/xml; charset=utf-8");
httpConn.setRequestProperty("SOAPAction",SOAPAction);
httpConn.setRequestProperty("Authorization", "Basic " + base64UserAndPasswd);
httpConn.setRequestMethod( "POST" );
I checked monitoring in PI . No message is coming. Can anyone tell me where is wrong? Is there any difference in SOAP adapter between PI 7.3 and PI 7.0? Where I can check more detail about the error. The log tells me the user login successfully. Thanks,
CharlesHI Charles,
Please check the blog, you would find all the HTTP related errors :
Http* Errors in XI
Thanks, -
JSP compilation error, IOException, can not output (Urgent)
Hi,
I met the error that Weblogic can compile the jsp to a temporary java file but can
not compile the temporary java file to class file, it said java.io.IOException, anybody
can tell why?
Thanks a millon!
Your system does not have enough swap space to run the JSP compiler.
Add swap space.
Mike
"dai shui" <[email protected]> wrote:
>
>Hi,
>I met the error that Weblogic can compile the jsp to a
>temporary java file but can
>not compile the temporary java file to class file, it
>said java.io.IOException, anybody
>can tell why?
>
>Thanks a millon!
-
File Connection Error (IOException: Root is not accessible)
Hi
I have to read the text file from resourse folder.
I have writen the following
InputConnection fc = (FileConnection)Connector.open("file:///C:/WTK22/apps/OpenFile/res/hello.txt");
but it give me some runtime error like IOException: Root is not accessible
ThanksHey bluebird before posting this question u should fly over the forum nway i five u solution. Try following
FileConnection fc = (FileConnection)Connector.open("file:///SDCard/hello.txt");
and go to http://developers.sun.com/techtopics/mobility/index.jsp
//PremInd -
Error with SessionBeans:Destination Unreachable
Hi all,
I'm trying to develop a simple Session Bean using Weblogic 8.1.
While deploying i got message as ejbc successful.
But while running client application i got following error.
Please anyone help to resolve this.
Thanks,
latha
E:\slsb>java Client
Exception in thread "main" javax.naming.CommunicationException [Root exception i
s java.net.ConnectException: t3://raghu:7001: Destination unreachable; neste
d exception is:
java.net.SocketException: Invalid argument: connect; No available router
to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
nTranslator.java:47)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
tialContextFactoryDelegate.java:636)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:306)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:239)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
62)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at Client.main(Client.java:12)
Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachab
le; nested exception is:
java.net.SocketException: Invalid argument: connect; No available router
to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:296)
... 7 morePlease check the following:
1. Check whether the weblogic is running on the localhost.
2. Check the port address is right or wrong
(I have never used weblogic so I can't tell you how to check it, if you don't know then browse the google)
3. Change the server name to 127.0.0.1 in the client code.
If the server is running perfectly at 127.0.0.1:7001 then there should be no problem. So check this constraints first.
Note: I have used Websphere there are lots of ports, the one I need for lookup in websphere is the BOOTSTRAP_ADDRESS. There are many other ports also. In websphere one can create multiple profile and for that profil;e this prot address varies from 2809,2810... etc.. I don't know whether in weblogic it is called as BOOTSTRAP_ADDRESS or not. But you have ensure that the particular port for weblogic (to perform lookup) is 7001 in your m/c. Please search through google for getting information on how to know the port in weblogic. -
Helping a forum user caused an error for me, Agent unreachable...
Does anyone know how to re-create the agent when the agent fails?
I was helping another users here in the forum who could not get his Database Control http://hostname:5500/em working.
I changed the following settings to illistrate how to change the address port through:
Stop DBConsole
Change the console server port property in
$ORACLE_HOME\hostname_sid\sysman\config\emoms.properties
Change the repository_url property in
$ORACLE_HOME\hostname_sid\sysman\config\emd.properties
Change all occurances of old port to new port in
$ORACLE_HOME\oc4j\j2ee\hostname_sid\config\http-web-site.xml
I guess I was not as smart as I thought, and now I am stuck getting my agent to work.
Oracle recommends to reset the agent:
emtcl stop agent
cd $AGENT_HOME/sysman/emd
cd upload
rm *
cd ../state
rm *
cd ..
rm agntstmp.txt
rm lastupld.xml
emctl start agent
I did this and now I am stuck, the agent is started but fails to be reachable.
Any advise would be kind!You'll have to reinstall iPhoto in order to get the themes linked back to the application. To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/ folder,
Click to view full size
Then install iPhoto from the disk it came on originally.
OT
Maybe you are looking for
-
How to change the input and output schema in BPEL process
hi', Please tell me how to change the input and output schema in BPEL process after the process is made. thanks Yatan
-
when i switched the input on my tv to the apple tv, the screen shows a picture of the back of the apple tv with a usb cord pointed towards the iTunes image, and doesn't respond to any buttons???
-
Equium A100-147 - Where to find LAN ethernet driver
Hello All, I am having problems to find the dirver for my ethernet controler... I went to toshiba website and on the LAN driver is not completed, it only comes with any application to unistall, doesnt have to install, problably missing.... I could fi
-
Getting music off my macbook...
Hi there, I have tried what others have been posting re: music files. I have tried being in iTunes and "creating mp3" - which was not an option when I clicked on the music file. I have also tried taking the music file directly off of the music fold
-
HT4623 Unable to buy via iTunes Store? Why? Need advice .
UNable to buy via iTunes Store ?