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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-22-2011, 08:08 PM
|
#1
|
LQ Newbie
Registered: Jan 2011
Posts: 17
Rep:
|
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.
|
|
|
01-22-2011, 08:39 PM
|
#2
|
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
|
If there's a firewall, is port 8008 open in the firewall?
|
|
|
01-22-2011, 09:08 PM
|
#3
|
LQ Newbie
Registered: Jan 2011
Posts: 17
Original Poster
Rep:
|
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...?
|
|
|
01-22-2011, 09:29 PM
|
#4
|
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
|
Correct.
I was thinking of a software firewall on the local computer.
|
|
|
01-22-2011, 10:11 PM
|
#5
|
LQ Newbie
Registered: Jan 2011
Location: NYC
Distribution: RedHat
Posts: 7
Rep: 
|
Try telnet IP port
|
|
|
01-27-2011, 10:32 AM
|
#6
|
LQ Newbie
Registered: Jan 2011
Posts: 17
Original Poster
Rep:
|
(Deleted this post)
Last edited by NirvanaBaby; 01-27-2011 at 10:50 AM.
Reason: not relevant now
|
|
|
01-27-2011, 10:48 AM
|
#7
|
LQ Newbie
Registered: Jan 2011
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
01-27-2011, 10:51 AM
|
#8
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Quote:
Originally Posted by NirvanaBaby
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.
|
01-27-2011, 12:40 PM
|
#9
|
LQ Newbie
Registered: Jan 2011
Posts: 13
Rep:
|
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.
|
|
|
01-27-2011, 12:42 PM
|
#10
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Quote:
Originally Posted by nicktickson122
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.
|
|
|
01-27-2011, 03:48 PM
|
#11
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
|
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.).
Observe results, and report as necessary.
--- rod.
Last edited by theNbomr; 01-27-2011 at 03:50 PM.
|
|
|
01-27-2011, 04:43 PM
|
#12
|
LQ Newbie
Registered: Jan 2011
Posts: 17
Original Poster
Rep:
|
same problem?
Quote:
Originally Posted by nicktickson122
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.
|
|
|
All times are GMT -5. The time now is 10:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|