Getting Tomcat 7 to work on remote CentOS 7.5 - spring-boot

I am trying to run a website (WAR-file)on a remote CentOS 7.5 VM.
I have access to this VM through ssh connection with putty and am able to remote view desktop. The current problem is that even though Tomcat can start, when trying to wget or via browser to view the website a "Connection refused" is returned. I have checked that I request from the right ports and Tomcat does not throw an exception on startup that no port could be opened.

Has it something to do with firewall, which might be preventing access to the port.
Or you might want to map the exposed tomcat port to an external port.

Related

Client application and Signoz on different Windows server

When Signoz is running locally via Docker with the client application in the same server, everything is working. However, if I configure the same application on another Windows server, I got connection timed out exception. There's no firewall issue as if I host another dummy application on port 4317, the other server can access the resource.
Please help

How to solve google chrome "Failed to load resource: net::ERR_CONNECTION_REFUSED" issue in windows 10 when server is running on Ubuntu 18.04?

I am trying to run this project on Ubuntu 18.04 server. I am running both server and client on this machine. Then from windows 10 with port 9000 I am getting access to client in my chrome browser at http://localhost:8000/#/
The browser loads the project but the problem is I can't log into the website with trusted account and some other data do not get loaded . When I see browser console I see an error message saying:
Failed to load resource: net::ERR_CONNECTION_REFUSED
This is the server setting:
This is the client setting and putty setting to connect to client.
VPN has been used to connect to server via PuTTY.
The error message in browser:
Could anyone shed some light on this issue? Is it related to windows 10 or VPN or some other issues? I followed some steps from here https://www.ionos.com/digitalguide/hosting/technical-matters/err-connection-reset/
By default, the Flask development environment uses 127.0.0.1 (localhost), which restricts access to processes on the same host (except for VMs/containers, which aren't a factor here).
To access Flask from outside of localhost (e.g., from your Windows 10 machine), use the IP address 0.0.0.0. (You can pass it to run(), or via a command line option of the flask command.
However, do note the warnings about (not) using the development environment for production use.

Enable Confluence to run on Port 80 in windows server 2012

I am having difficulty getting Confluence running on windows server 2012 on port 80. (the machine in hosted in Azure which is why I need to run it on port 80 (i dont have access to other ports from where I am trying to use this)).
I believe something must be running on port 80 , though i did a netstat -y and didnt see anything.
I think its IIS any idea how I should kill that or what else could be causing confluence to not run on port 80?
*confluence works find on say port 8090 but i need to run it on port 80.
mind you I cant get confluence to run on port 80 on the local instance of windows server, never mind accessing it from another location thus i dont think this has anything to do with azure
running a
netstat -abn
shows nothing running on port 80. Im still not sure why I cant get confluence to work locally on port 80.
A virtual machine in Azure is not directly public accessible. You need to configure endpoints in the cloudservice (which acts as a loadbalancer).
So for instance you can configure a public endpoint port 80 on the cloudservice to point to your VM port 8090. See http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-set-up-endpoints/ for more information.
If the Endpoint is open on Azure to the VM then my advice would be to check the firewall settings on the host. Typically most ports are shut unless they are explicitly opened by installing a feature like IIS (windows web server).

Unable to connect to WCF server port

I created a WCF service and deployed it to my production environment (Windows 2008). The client (also Windows 2008) cannot connect to the server port. I have stopped the Windows Firewall service on the server, and I can see the port listening when I use netstat from command line on the server. I am fairly sure that it is a problem related to the port because I can ping the server, but when I tried to do telnet serverIP port, I got an error. The client machine can connect to other machines on the network (e.g. DB server) so it does not seem to be a problem on the client side. Any ideas on what else could cause the port to be blocked?
Thanks

Apache can't connect to http://localhost/. Port is changed to 81

I've just installed apache2.2 and installed it, but to get it running I had to change it listening port to 81. But the thing is now that I cant connect to it through localhost. The only thing I get is a login window and when I type in the authentication information that I think is my windows login. I get:
error '8002801c'
Error accessing the OLE registry.
/iisHelp/common/500-100.asp, line 17
The computer is a winxp and I've opened the ports out and no firewall is blocking apache.
Seems like the machine has another webserver running, probably IIS.
You can uninstall that through the configuration screen.
Try http://localhost:81/ to get the apache install.

Resources