LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Unable to connect to server (https://www.linuxquestions.org/questions/suse-opensuse-60/unable-to-connect-to-server-4175604053/)

raydona 04-17-2017 08:43 PM

Unable to connect to server
 
Hi,
I'm new to all this. Created a web server on OpenSuse Leap 42.2. I've checked that apache (httpd) service is running. I've also checked that port 80 is open and listening. I also disabled firewall for testing purposes. Yet when I try to connect to server from another machine using IP address there is no connection. I'm using yougetsignal Port Forwarding Tester as well as firewallruletest.com to try and establish tcp connections. I would be grateful for any suggestions as to what else I should do to establish connection.

frankbell 04-17-2017 10:07 PM

So many questions.

Is this a public facing server or a private one on your local network? If it's public-facing, have you checked whether your ISP blocks port 80 (in the States, many ISPs do unless you have a business account)?

Are you attempting to connect via domain name or via ip address? If by domain name, can you connect via ip address? If you can connect by ip address, have you established a DNS to resolve the domain name?

If you are trying to connect from the Big Wide World, can you connect via ip address from another computer in your local LAN? (Oh, I notice you answered this one, but are you using your local ip address or the public ip address.)

If you are physically at the webserver, what happens when you try to connect to http://localhost in your browser?

What webserver software are you using, apache, nginx, or something else?

You may want to read this: http://www.linuxquestions.org/linux/...Ask_a_Question

pan64 04-18-2017 02:10 AM

you can try to use nmap (for example) to test if you can reach that host/port.

mrmazda 04-20-2017 10:03 PM

I have Apache running on 42.1. When I open Konqueror on another machine and enter http://<IP>:80/ in its address bar I get my server's home page. I originally set this up many moons ago, so don't remember whatever obstacles I may have had making it work.


All times are GMT -5. The time now is 10:09 AM.