simple question about port 80 on ec2 virtual Windows Server - glassfish

I set up a Windows 2008 Server virtual machine on Amazon ec2. I gave it a "security group" that includes HTTP 80.
I installed GlassFish server and have it listening on port 80.
I can Remote Desktop to the machine (ec2-174-129-128-105.compute-1.amazonaws.com), open a browser, and browse to "http://localhost:80" and see the GlassFish welcome page.
However, when I attempt to browse to the machine from my local laptop like so ...
http://ec2-174-129-128-105.compute-1.amazonaws.com:80
... it just times out.
Any idea what I have to do to open the machine to browsing from the internet? Or what I'm doing wrong?
Thanks,
rob

Answering my own question. I had to open port 80 on the windows firewall. It turns out Windows Server 2008 is locked down excessively tightly out of the box.

try to give the ip address of the machine instead of
http://{your ip address}:80
and see if it works

Related

Web access to Gluu v4.0 server, installed on Ubuntu 20 machine

I have installed Gluu server version 4.0 on an Ubuntu ver.20 powered machine. After running setup script I am able to login to server from command line and according to Gluu docs I should be able to access UI from web browser using this pattern https://<hostname-where-gluu-server-installed>.
But this doesn't work. I have enabled port 443. Both browser and server are on the same machine. Thanks in advance for your answers!
Gluu must be deployed on a server or VM with a static IP Address. The static IP address should resolve to a computer hostname which can be achieved by adding an entry to the DNS server or in /etc/hosts.
More information on official Gluu docs:
https://gluu.org/docs/gluu-server/4.0/installation-guide/

Apache Guacamole-Creating New connection to Windows PC

I have successfully installed Apache Guacamole on my DigitalOcean VPS.
Now I need to create a new connection to my windows 10 pc.
I cannot get that to work.
I am very confused what settings I need to fill in to connect to the pc.
Here are screenshots of the settings I can fill in. I am going to use RDP and am unsure how to find the domain, host, etc of my pc. Maybe there is other settings I need to fill in too?
Please help as I have been trying for weeks. Thank You.
New Connection Settings Picture
New Connection Settings Picture
First, make sure that both tomcat and guacd services are running. Usually, both are installed on the same machine.
On the settings page, select RDP as the protocol (in the images you have posted, VNC is selected). Next, in the "Parameters" section, enter hostname ip and RDP port (3389 is the default). If guacd is on the same host as tomcat, there is no need to enter anything in the "Guacamole proxy parameter" section.
The settings page is a bit different when RDP is selected, but you should also populate windows username, password and domain of the remote PC where you want to connect. The parameters are the same as the one you are normally using to logon to this PC.
Also, make sure that the remote windows 10 PC is accessible from the DigitalOcean VPS. You may test this by logging to the VPS machine and issue the following in the terminal
telnet <remote windows pc ip> 3389
If you can connect with telnet, this means that remote PC RDP server is accessible; otherwise, you have to check for network related issues (firewall, different lans...).
If everything above is ok, then please post the tomcat log (catalina.out) and guacd log (usually in /var/log/syslog).

Access a system URL in the network

I am trying to access the url localhost:8088/openbravo from the network. The local IP of the system is 192.168.1.101/openbravo. But when i try it from other system in the network, it doesn't work. Is there any setting that i need to do.
i added the ip address in the hosts file of the local system. But it didn't work too.
System is windows 2008 server 64bit.
--
Thanks
With it being Server 2008, have you disabled the Windows Firewall to see if it will work. It may be blocking incoming connections from that port from the other local networked machine. After the test, then you can reenable and add a firewall exception for the tomcat port of 8088.
http://technet.microsoft.com/en-us/library/cc766337(v=ws.10).aspx
try with this 192.168.1.101:8088/openbravo.

Hosting website on Azure Virtual Machine

Yesterday I created an Azure Virtual Machine using the simple Win2008r2 + SQL2008r2 image.
I have deployed a website to the VM via an RDP session.
I am able to browse the website locally (via RDP) using
"http://localhost"
I understand that I need to add an Azure endpoint for port 80 to enable me to browse to the site from an external machine.
I have configured the Windows Firewall on the Azure VM to allow traffic on Port 80 inbound and outbound.
Could anyone please advise what I've missed or what I can do to troubleshoot?
---Update-----
I have learned a little more this morning. The website that I'm trying to host on the VM is an installation of Interwoven Teamsite v7.3.x. When I looked in IIS I could see that the "Default Web Site" was stopped. Another website called "TeamSiteSitePubPreview" had been created but was only bound to port 81.
So, what was presenting the website I could see when I browsed to
http://localhost locally?
I ran netstat -ano and this showed me that PID 1604 what listening on port 80. I then ran Process Explorer which told me that PID 1604 was allocated to "Appache HTTP Server".
I know nothing about About Appache, can anyone tell me if there's some Apache config that will be preventing connections from outside of the local server?
For reference, I just tested this sequence and it gives you a website accessible over the Internet:
Create a new Windows Azure virtual machine with the Windows Server 2008 R2 SP1 image.
Add an endpoint on public port 80, private port 80.
While the endpoint is being created, start setting the server up.
Remote Desktop in.
Add the Web Server (IIS) role with default settings.
Test the connection. You should get a HTTP 200 OK status.
If you want to troubleshoot your server, start checking for errors in the event log. Check also the website bindings in IIS (Port 80, IP Address *).
Also consider the connection issue might be on the client (your) side. For instance, DNS caching. Try connecting from another machine with direct Internet connection (such as another cloud server) or from a service such as isup.me.
Additionally, if all you want is to host websites in IIS, the Web Sites service has a more streamlined experience.
You will need to create an endpoint on port 80 thru Windows Azure Management portal as well. This endpoint opens a port in the Windows Azure Load-balancer.
Navigate to your VM within the portal and create a new Endpoint under the Endpoints screen of VM configuration within Azure management portal.

Unknown service zeus-admin running on my server

I used nmap to check which ports are open on my server it showed
PORT STATE SERVICE
9090/tcp open zeus-admin
now port 9090 is supposed to listen for apache tomcat. What is this zeus-admin ?
how I start my apache tomcat server ?
It is also the default listed name when nmap'ing it. The actual service listening to that port doesn't have to be, it's what is usually the default service running at that port.
Zeus Web Server is a proprietary web server for Unix and Unix-like platforms.
ZWS seems to be dead since it hasn't been updated since January 2010, and the company no longer offers a similar server solution.
It's probably fine to just kill it, and remove it from operation as it's mostly just a security risk by now.
Zeus is sometimes used as an embedded web server for things like admin consoles. If you have the OpenFire XMPP server installed, you will find the configuration UI tools running on port 9090 (http://localhost:9090).