host java web application on remote server [closed] - java

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.

Related

How to run a docker image of ElasticSearch with SSPL licence? [closed]

Closed. This question is not about programming or software development. 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 4 months ago.
This post was edited and submitted for review 4 months ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I am developing a spring-boot application with the aid of the new ElasticSearch Java Client 8.4.
I need an ElasticSearch server running on docker with same version. Otherwise, some queries may not be performed because of incompatibility issues.
I know that ElasticSearh is no more open source from version 7.10, and has 2 kind of licences.
Question is, how may I implement an Elasticseach server on Docker by using free licence? What should I do at code level?
Thanks
Yes, you can and download the docker image from their website.
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.4.3
Refer this page to understand more about Elasticsearch license change

cannot access files in tomcat from another computer in the same network using ip address? [closed]

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).

Remote Debugging Using Eclipse [closed]

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

Mounting a networked folder on Linux System for Storing Files? [closed]

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 two RHEL linux server and the problem that I have is that I am not aware of how to use the other one as a file storage server. Consider there are two servers A & B, now I want server A to have a folder that is mapped to the Server B and then whenever I store something on server A it automatically is moved to server B. I think this is called Networked Drive or May be Mounting a networked folder or File Server. I am totally unaware of this. Please help me to figure this out. Since the server B has a huge storage capacity and I want to save all the files in this through a Java EE program running on Server A.
Please let me know any tools or technology that can help in this.
Consider using nfs to mount remote filesystem on a server.
On server B, you may set /etc/exports as follows:
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/folder/to/export SERVER_A_IP(rw)
Then, start nfs service and, from server A you may use:
mount -t nfs SERVER_B_IP:/folder/to/export /mnt/mountpoint
However, your question should have been posted on ServerFault. I flagged it as off topic, hope they move it.

Using Windows-Server(2003/2008) in VMware for testing LDAP application in Java [closed]

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.

Categories