LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2011, 08:08 PM   #1
NirvanaBaby
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Rep: Reputation: 0
Unable to access port 8008 from web browser


So this is my first post so I'll put it in "Newbie". I seem to have successfully configged my httpd.conf file to listen on port 8008. I restarted httpd ok. However, when I go to port 8008 in a web browser from another computer on the internal network by going to 192.168.2.5:8008, it doesn't connect. When listening on port 80, I can browse to the IP address fine. is this a server-side or client-side issue? Using Fedora 12. Thanks in advance and tell me what forum this would best fit in.
 
Old 01-22-2011, 08:39 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,827
Blog Entries: 28

Rep: Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329
If there's a firewall, is port 8008 open in the firewall?
 
Old 01-22-2011, 09:08 PM   #3
NirvanaBaby
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
inside firewall

frankbell,
I'm trying to access from another computer on the internal network. The firewall on my Belkin should be irrelevant, right? There is selinux to consider though...?
 
Old 01-22-2011, 09:29 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,827
Blog Entries: 28

Rep: Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329Reputation: 6329
Correct.

I was thinking of a software firewall on the local computer.
 
Old 01-22-2011, 10:11 PM   #5
jobslocaltech
LQ Newbie
 
Registered: Jan 2011
Location: NYC
Distribution: RedHat
Posts: 7

Rep: Reputation: Disabled
Try telnet IP port
 
Old 01-27-2011, 10:32 AM   #6
NirvanaBaby
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
(Deleted this post)

Last edited by NirvanaBaby; 01-27-2011 at 10:50 AM. Reason: not relevant now
 
Old 01-27-2011, 10:48 AM   #7
NirvanaBaby
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
jobslocaltech, I follow you. Yeah, I can telnet to that port (now 488) on that IP but only FROM the computer running apache. also, i can bring it up in a browser. However, telnetting to that ip and port from another (Windows) computer merely returns to a c:> prompt with no error.
 
Old 01-27-2011, 10:51 AM   #8
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by NirvanaBaby View Post
jobslocaltech, I follow you. Yeah, I can telnet to that port (now 488) on that IP but only FROM the computer running apache. also, i can bring it up in a browser. However, telnetting to that ip and port from another (Windows) computer merely returns to a c:> prompt with no error.
I would *temporarily* disable iptables on the web server and try connecting to it again.

Code:
service iptables stop
try to connect from remote. then to re-enable

Code:
service iptables start

Last edited by szboardstretcher; 01-27-2011 at 11:39 AM.
 
1 members found this post helpful.
Old 01-27-2011, 12:40 PM   #9
nicktickson122
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Rep: Reputation: 1
I can telnet to that port (now 488) on that IP but exclusive FROM the computer running athapascan. also, i can transport it up in a application. However, telnetting to that ip and port from other (Windows) computer simply returns to a c:> prompt with no evil.
 
Old 01-27-2011, 12:42 PM   #10
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by nicktickson122 View Post
I can telnet to that port (now 488) on that IP but exclusive FROM the computer running athapascan. also, i can transport it up in a application. However, telnetting to that ip and port from other (Windows) computer simply returns to a c:> prompt with no evil.
To be clear on this: You disabled IPtables on the web server, and tried to connect from a windows machine, and it did not work? But, you can connect to the webserver when it is set up on port 80?

Last edited by szboardstretcher; 01-27-2011 at 12:49 PM.
 
Old 01-27-2011, 03:48 PM   #11
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Set up a packet sniffer (wireshark), and see if there is any traffic received on the port(s) of interest.
As root, run at a bash commandline:
Code:
for table in filter nat mangle; do iptables -t $table -L; done
See if there is a rule blocking traffic on port 8008.


Use netcat (nc) to set up a listener on the port of interest, and try to connect with it from other clients (browsers, etc.).
Code:
nc -l 8008
Observe results, and report as necessary.
--- rod.

Last edited by theNbomr; 01-27-2011 at 03:50 PM.
 
Old 01-27-2011, 04:43 PM   #12
NirvanaBaby
LQ Newbie
 
Registered: Jan 2011
Posts: 17

Original Poster
Rep: Reputation: 0
same problem?

Quote:
Originally Posted by nicktickson122 View Post
I can telnet to that port (now 488) on that IP but exclusive FROM the computer running athapascan. also, i can transport it up in a application. However, telnetting to that ip and port from other (Windows) computer simply returns to a c:> prompt with no evil.
nicktickson122, your post was almost identical to mine. are you having the same issue? If so, tell me if you fix it. i'll try shutting off iptables when i get home.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subversion Web Access Will Not Allow Me To Log In With My Web Browser jc_cpu Linux - Server 4 04-11-2011 02:01 PM
Failed to launch VMware Web Access: unable to find a graphical web browser. rob0t Linux - Server 0 03-18-2009 02:32 PM
after port forwarding to web server, lan user cant access by typing www via browser shio Linux - Networking 6 02-24-2008 10:38 AM
Unable to access internet thru web browser corbis_demon General 3 10-22-2006 04:46 AM
Web Browser only access to system davidd Linux - Software 2 02-15-2005 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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