Agr Raj

Greenhorn
+ Follow
since Feb 03, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Agr Raj

Yasin Kothia wrote:The reason your IP keeps changing is because you do not have a static IP from your ISP.



Yes, that's fine but I don't understand why the code fails when i try to access the server through the Internet.
12 years ago
This is the server class



The Client Class



The Remote Interface



Runs perfectly on the same machine.
Then,
I changed the IP address in the ClientClass to 111.119.254.32, turned the firewall off and tried accessing the server from a different machine over the Internet and got the following error
Connection refused to host: 111.119.254.32 and some more nested Exception

Please help me spot where I'm Going wrong.


12 years ago

Tim Moores wrote:Let me emphasize what I'm asking:

You want to access the machine from remote, over the internet? ... Or do you want to connect from some other machine on your local network?



over the internet
12 years ago

Tim Moores wrote:That's how I understood the question. What are the answers to the 2 questions I asked?



I want to connect from some other machine to my local network
12 years ago
Guys thank you for your Greetings.

Let me explain the problem more clearly
When i run the application on the same machine using the IP address as 127.0.0.1 it works well. But, when i run the client on a separate machine using the current IP address that is 120.138.114.167 I get some sxception saying Connection refused to host address 120.138.114.167. I tried running the same application after turning my firewall off but still got the same exception

Note: the IP address that i have is dynamic that means it keeps changing every time I restart my router. I manually update the client file whenever the IP changes.
12 years ago
Hi everyone. My IP address keeps changing every time I connect to the Internet. I need the ip address for RMI Connection.

Naming.lookup("rmi://127.0.0.1/Compute")

I need to put my IP address in the above but dont know how to go about it as i get a new ip address everytime i connect to the internet. Please help

Thankx.
12 years ago
Hi everyone. My IP address keeps changing every time I connect to the Internet. I need the ip address for RMI Connection.

Naming.lookup("rmi://127.0.0.1/Compute")

I need to put my IP address in the above but dont know how to go about it.

Thankx.
12 years ago
Also my ip address keeps changing everytime i restart my router
12 years ago
I ran the same code from hfj and it works fine on the same machine, but when i work on a different machine it blows up at runtime. i have changed the ip address from 127.0.0.1 to 120.138.114.174.
Any help
12 years ago