LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-15-2011, 05:07 AM   #1
MeNok
LQ Newbie
 
Registered: Aug 2011
Posts: 22

Rep: Reputation: Disabled
Smile can`t connect to server in my browser,but succeed via ssh


i start the web server with no user logged in (just well at the choosing scene).

if i wanna connect to the web server in a browser on a client pc , what should i do first ? Now i find that i could connect by ssh but fail to connect in web browser. and if i choose root (haven`t try other user yet) to log in on physical server ,i can connect successfully in web browser as well.

is there any particular service should be included in the initialization ?

or must i log in a user on the server machine to make a successful connection in the browser?

i`m totally newbie and
need your help , thx~
 
Old 08-15-2011, 05:18 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
If you can access it on the box itself, you need to check the 'connection'.

Is that server on your local network or somewhere on the big bad world called internet?
How do you connect in the browser? By ip (http://serveripaddress) or by hostname (e.g. http://serverhostname); please give the details for both on the server itself as well as for the client if they differ.
What else is between your server and your client PC? Just the cable, a router, ...

Other things that I might have forgotten ...

And to complete the information, which distro; I assume Ubuntu based on your 'choosing scene', but I might be wrong.
 
Old 08-16-2011, 12:50 AM   #3
MeNok
LQ Newbie
 
Registered: Aug 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
maybe i`m just not clear about how the server works...

ok,as for the server machine , my story is
1. i press the button on the server , and RedHat Enterprise on;
2, it comes to the login scene ,(users are oracle ,haproxy,and some other users ,and of course hidden root user)
3, now here`s the question: do i have to log in any user in order for the server to be accessible ?

i thought maybe i could add certain network service to boot stage of the server before any user log in. did i make a mistake?
The server can be accessed both by internal network and the Big Bad Internet , i redirect the access port of the Internet to the same port of internal network. and you just remind me that the maybe it`s the firewall configuration that contains this redirection has not been loaded. therefore i cannot access in the browser lacking of the redirection ?
i think my client pc and the server must be on a big switch in the internal network.thus i can connect via ssh?

thank you for the reply~

Quote:
Originally Posted by Wim Sturkenboom View Post
If you can access it on the box itself, you need to check the 'connection'.

Is that server on your local network or somewhere on the big bad world called internet?
How do you connect in the browser? By ip (http://serveripaddress) or by hostname (e.g. http://serverhostname); please give the details for both on the server itself as well as for the client if they differ.
What else is between your server and your client PC? Just the cable, a router, ...

Other things that I might have forgotten ...

And to complete the information, which distro; I assume Ubuntu based on your 'choosing scene', but I might be wrong.
 
Old 08-16-2011, 02:55 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by MeNok View Post
3, now here`s the question: do i have to log in any user in order for the server to be accessible ?
No, services are started already
 
Old 08-16-2011, 03:19 AM   #5
MeNok
LQ Newbie
 
Registered: Aug 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Wink

well~i guess i have to check the boot scripts , maybe some didn`t work ~ i`ll try it out myself then~
you`ve been very helpful~
Quote:
Originally Posted by Wim Sturkenboom View Post
No, services are started already
 
  


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
ssh with x-server through web browser xc1024 Linux - Software 6 01-05-2009 02:48 PM
cant succeed to connect to wireless network dids22 Linux - Wireless Networking 5 09-30-2007 06:48 AM
how to connect to my SSH Server shahz Linux - Networking 4 09-10-2006 04:25 PM
Unable to connect to server using hostname with telnet and browser Schlumpf42 Linux - Networking 6 10-14-2004 11:03 AM
cannot connect to X server over ssh ocularbob Linux - General 1 02-03-2003 04:11 PM


All times are GMT -5. The time now is 06:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration