Telnet uses a different port, of course. Who controls the network your
using? If your behind a corporate firewall, its possible that the port
jBoss is listening on is turned off at the router. Some ISPs block certian
ports, although most do not...

So, its very possible that you can telnet to a machine that you can not
connect to otherwise...

Jim



--On Wednesday, May 31, 2000 9:58 AM -0500 [EMAIL PROTECTED] wrote:

>
> Tried both ways. Same response.
>
> I have not problems with this when I run the server locally. It is when I
> try to go out over the network and hit a remote machine.
>
> As far as the server running on the machine, telnet shows that it is
> available:  ��sr
> org.jnp.server.NamingServer_Stubxrjava.rmi.server.RemoteStub����'�ex
> r  java.rmi.server.RemoteObject�a�'a3xpw2
>
> John
>
>
> Rickard �berg <[EMAIL PROTECTED]>
> Sent by: <[EMAIL PROTECTED]>
>
> 05/31/00 09:40 AM
> Please respond to "jBoss"
>
>         To:        jBoss <[EMAIL PROTECTED]>
>         cc:
>         Subject:        Re: [jBoss-User] Security Manager
>
>
> Hi!
>
> [EMAIL PROTECTED] wrote:
>> Using a jndi.properties file here is what I get:
>> Initial Context Retrieved.
>
> Try using the DNS name of the host instead of the IP. That could work
> better.
>
> And you are sure that the server is running at the IP you're using?
>
> /Rickard
>
>> javax.naming.ServiceUnavailableException: Connection refused: no
>> further information.  Root exception is java.net.ConnectException:
>> Connection refused: no further information
>>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>>         at
>> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
>>         at
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>>         at java.net.Socket.<init>(Socket.java:273)
>>         at java.net.Socket.<init>(Socket.java:100)
>>         at
>> org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:503)
>>         at
>> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:159)
>>         at
>> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:152)
>>         at javax.naming.InitialContext.lookup(InitialContext.java:350)
>>
>>         at com.vse.client.MAIN.main(MAIN.java:32)
>>
>> John
>>
>>  Rickard �berg <[EMAIL PROTECTED]>
>>  Sent by:                                    To:        jBoss
>>  <[EMAIL PROTECTED]>  <[EMAIL PROTECTED]>
>>                                              cc:
>>  05/31/00 09:23 AM                           Subject:        Re:
>>  Please respond to "jBoss"           [jBoss-User] Security Manager
>>
>> Hi!
>>
>> [EMAIL PROTECTED] wrote:
>> >
>> > These are the properties passed into initial context.
>> >
>> > I get an initial context but when my code looks up the home
>> interface
>> > I get the exception below.
>> >
>> > final Properties prop = new Properties();
>> >
>> prop.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingConte
>> xtFactory");
>> >
>> > prop.put(Context.PROVIDER_URL,"63.74.222.154");
>>
>> This looks correct. Can you test and store these settings in a
>> jndi.properties file placed in classpath? See what happens.
>>
>> /Rickard
>>
>> >
>> >  Rickard �berg <[EMAIL PROTECTED]>
>> >  Sent by:                                    To:        jBoss
>> >  <[EMAIL PROTECTED]>
>>  <[EMAIL PROTECTED]>
>> >                                              cc:
>> >  05/31/00 09:15 AM                           Subject:        Re:
>> >  Please respond to "jBoss"           [jBoss-User] Security Manager
>> >
>> > Hey
>> >
>> > The subject says "Security Manager"... what does this have to do
>> with
>> > the SM??
>> >
>> > [EMAIL PROTECTED] wrote:
>> > >
>> > > Any thoughts on why I get this?
>> >
>> > Yes, there's no jBoss server running at 127.0.0.1...
>> >
>> > /Rickard
>> >
>> > >
>> > > Connection refused to host: 127.0.0.1;
>> > > javax.naming.CommunicationException.  Root exception is
>> > > java.rmi.ConnectException: Connection refused to host: 127.0.0.1;
>> > > nested exception is:
>> > >         java.net.ConnectException: Connection refused: no further
>> > > information
>> > > java.net.ConnectException: Connection refused: no further
>> > information
>> > >         at java.net.PlainSocketImpl.socketConnect(Native Method)
>> > >         at
>> > > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
>> > >         at
>> > >
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
>> > >         at
>> > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
>> > >         at java.net.Socket.<init>(Socket.java:273)
>> > >         at java.net.Socket.<init>(Socket.java:100)
>> > >         at
>> > >
>> >
>> sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSoc
>> ketFactory.java:25)
>> > >
>> > >         at
>> > >
>> >
>> sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSoc
>> ketFactory.java:120)
>> > >
>> > >         at
>> > > sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
>> > >         at
>> > >
>> >
>> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
>> > >
>> > >         at
>> > >
>> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
>> > >         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:83)
>> > >         at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
>> > >         at
>> > > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:167)
>> > >         at
>> > > org.jnp.interfaces.NamingContext.lookup(NamingContext.java:152)
>> > >         at
>> > javax.naming.InitialContext.lookup(InitialContext.java:350)
>> > >
>> > >         at com.vse.client.MAIN.main(MAIN.java:32)
>> >
>> > --
>> > Rickard �berg
>> >
>> > @home: +46 13 177937
>> > Email: [EMAIL PROTECTED]
>> > http://www.telkel.com
>> > http://www.jboss.org
>> > http://www.dreambean.com
>> >
>> > --
>> > --------------------------------------------------------------
>> > To subscribe:        [EMAIL PROTECTED]
>> > To unsubscribe:      [EMAIL PROTECTED]
>> > Problems?:           [EMAIL PROTECTED]
>>
>> --
>> Rickard �berg
>>
>> @home: +46 13 177937
>> Email: [EMAIL PROTECTED]
>> http://www.telkel.com
>> http://www.jboss.org
>> http://www.dreambean.com
>>
>> --
>> --------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Problems?:           [EMAIL PROTECTED]
>
> --
> Rickard �berg
>
> @home: +46 13 177937
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>
>






--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to