Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I want to debug a java application running on remote server using Eclipse. I know that there is option for creating a remote debugging configuration in eclipse: Debug Configurations -> Remote Java Application.
But my problem is that what should I put in the "Host" field. I don't have a direct connection with the server but through a contact server. For e.g. I have contact server : abc#contact.xyz.com , I login into contact server and then log into my sever using: ssh server1, so my application is running on server1. I cannot directly access server1 but only after logging into contact server.
So what should I fill in Host field in my case?
Try use portforwarding, for example with putty if you have a windows machine:
http://www.cs.uu.nl/technical/services/ssh/putty/puttyfw.html
For mac try this (didn't try it myself because i lack a mac ;-))
http://blog.evandavey.com/2008/05/how-to-ssh-port-forwarding-on-mac-osx.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I developed an web application using spring and hibernate.i bought domain name and hosting but now i can not understand how to host this application.i don't know how to install Apache tomcat on this remote server and how to install JDK.
I tried to install tomcat using putty but it showing an error "Network Error :Connection refused"
Can someone provide me details how to host an java application in remote Linux server. I am using windows 7 by the way.
i created war.now i need to deploy this war in tomcat.but how do i install tomcat on that remote server.I want to know A-Z how to host java web app on remote server.
I know you have said you already bought a hosting solution, but I have had good experiences with DigitalOcean. They provide lots of documentation on getting started to host web applications and servers. Here is a link to them describing how to install Apache Tomcat on a remote linux server, perhaps this will be helpful.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I installed tomcat 7 and deployed a file consisting of html files.
When I access it in my laptop using localhost:8080/project it worked.
And also when I typed (my IP at that instance) 192.168.1.26:8080/project it also worked.
But when I access it from another laptop which is in the same network using 192.168.1.26:8080/project I mean internet protocol address it shows error and can not connect. I want to access the html files on the another laptop. Suggest me a solution.
Sometimes computer firewall blocks access - try this
The firewall can be configured by: choosing the Windows Firewall from the Control Panel, then click on Exceptions -> Add Port and enter name and number: Tomcat, 8080 and leave transport protocol as TCP
You need to set the Tomact to listen to your machine local ip address(ex. 192.168.0.3).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a server on my computer and I set --address=0.0.0.0 so that I can access it from other computers in my network. Now my question is, what do the other computers type as the address so they may access the server? On the hosting computer, I can simply do http://localhost:8080.
http://<your-ipaddress>:8080
Make sure your firewall permits TCP on port 8080
Depending on what OS you are running..
Windows:
in command prompt type
ipconfig /all | find "IP Address"
for linux:
in shell type
ifconfig | grep "inet addr"
You need to find your internal network IP adress
this will look something like 192.168.. or 10...*
This all depends on your configuration
this will be the IP your clients use to connect
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have made a client application for LDAP Server(especially for Microsoft AD) in java where my client application will fetch attributes(it'll be shown) on the basis of the Entry/Base DN,Scope of Search.I have made this application in netscape and in my local system(Windows 7).
Now my plan for testing this application:
First,I have installed VMware-Workstation(8.0.0 build-471780),then I'll installed Windows Server(2003 or 2008) iso image through VMware.
Next(will it be possible) to apply Microsoft AD services through this Windows Server version.
I don't want to install server edition in some other system for testing.Feel free to suggest/comment about this process or correct me if I'm wrong to my approach-give inputs for the best approach for testing.
Sure, the Windows server (and AD) doesn't mind where it's running, as long as you have sufficient resources. Install the server in VMware and then configure the AD.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am looking for a way to create a new VPN connection using only the command line. All I see in Google searches are how to connect to an existing VPN connection, which is through rasdial. Thanks.
You can try to use RAS API directly from Java.
If you want to create VPN connection from pure CMD, I'd try to append connection info to rasphone.pbk file in user's profile (%APPDATA%\Microsoft\Network\Connections\Pbk\rasphone.pbk).
For more ideas see How can I programmatically create a Windows VPN connection?
Cisco VPN can connect using the Command line.You can create your own script files that use the CLI commands to perform routine tasks, such as connect to a corporate server, run reports, and then disconnect from the server.
To display a list of all VPN Client commands, go to the directory that contains the VPN Client software, and enter the vpnclient command at the command-line prompt:
http://www.cisco.com/en/US/docs/security/vpn_client/cisco_vpn_client/vpn_client46/administration/guide/vcAch5.html