LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 11-26-2018, 06:04 AM   #1
zahian84
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Rep: Reputation: Disabled
Cannot Establish Connection to Server using the Web Browser


Hi all,

I am using centos 7 in VMWare. I want to use Snort IDS console and successfully installed Snort, Aanval and all the requirements in my centos. After the installation, I suppose to go to Aanval authentication page by typing 10.1.1.164 at my web browser. However, the web browser cannot establish the connection to the specified server.

Please help me.
 
Old 11-26-2018, 06:18 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Have you installed a web server on the VM?
 
Old 12-13-2018, 08:43 PM   #3
zahian84
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Yes, I already installed Apache web server.
 
Old 12-13-2018, 09:45 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by zahian84 View Post
Yes, I already installed Apache web server.
Let's do a steeplechase. But before we start, please ensure that the Snort IDS console uses default web server port 80.

First hurdle: To check if the server is running at all, access its address from the command line in the VM:
Code:
curl 10.1.1.164 
curl localhost
Next hurdle: Centos implements a very strict firewall that doesn't permit access to any network port except 22 (for SSH). On the VM, open the firewall for web services:
Code:
firewall-cmd --add-service http   # I hope that is correct - use the man page to check
Third hurdle: It might be that VMware prevents you from accessing the VM. I can't help you with that though.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql driver unable to create a connection due to an inabilityto establish connection jayakumar01 Linux - Server 1 01-04-2012 09:04 AM
[SOLVED] cannot establish a wireless connection using the NetworkManager DBUS API in C anurupr Programming 4 05-03-2011 01:07 AM
Client / Server program cannot establish socket connection tliggins Linux - Networking 2 06-19-2006 10:51 AM
dial up cannot establish connection using SLES 9 jetlinux Linux - Enterprise 0 02-02-2006 10:35 PM
cannot establish a connection to my internet Jjurk Linux - Newbie 7 03-05-2004 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration