Networking Forums

Networking Forums > Computer Networking > Linux Networking > Web Hosting/Deployment Problem With Ubuntu But Not With Windows

Reply
Thread Tools Display Modes

Web Hosting/Deployment Problem With Ubuntu But Not With Windows

 
 
OtagoHarbour
Guest
Posts: n/a

 
      11-22-2011, 01:59 AM
On Nov 21, 4:32*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
> OtagoHarbour <peterdlau...@gmail.com> writes:
> > On Nov 21, 1:25*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
> >> OtagoHarbour <peterdlau...@gmail.com> writes:
> >> > On Nov 20, 9:19*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
> >> >> OtagoHarbour <peterdlau...@gmail.com> writes:
> >> >> > On Nov 19, 10:54*am, Not Disclosed <not_disclo...@yahoo.com> wrote:
> >> >> >> Have you tried reseting your router? Have you opened the proper ports in
> >> >> >> your ubuntu box?

>
> >> >> > Thank you for your reply. *I set my port forwarding on the router to
> >> >> > Web Server
> >> >> > TCP Any -> 80
> >> >> > TCP Any -> 443

>
> >> >> > I use the same box for both Ubuntu and Windows. *It's just thatI get
> >> >> > port forwarding when I boot in Windows but not with Ubuntu.

>
> >> >> Since the router is forwarding properly, it sounds like you don't have
> >> >> the ports open on the windows/ubuntu box under ubuntu. *Try turning the
> >> >> ubuntu firewall off entirely and see what happens -- and, since I've
> >> >> done things like this myself, make sure the web server is actually
> >> >> running under ubuntu...

>
> >> > Thank you very much for your reply. *I tried to turn the Ubuntu
> >> > firewall off with

>
> >> > $ iptables --flush

>
> >> > I tried to get the web server running with the following steps.
> >> > $ cd /etc/apache2/sites-enabled
> >> > $ sudo vi 000-default
> >> > * * Under <Directory /var/www/>
> >> > * * changed "Allow Override None" to "Allow Override All"
> >> > $ sudo *a2enmod rewrite
> >> > $ sudo /etc/init.d/apache2 restart
> >> > $ cd /var
> >> > $ sudo chown -R www-data www

>
> >> > Unfortunately, I still cannot access my web page, even from my home
> >> > computers, when the server is running Ubuntu.

>
> >> Can you talk to any other daemons (like sshd) on it? *Can you ping it?

>
> > I can ping to the IP address (192.168.1.6) of the web server, and also
> > to the web site name, from any computer on my home network. *That's
> > actually progress since I was not able to do that, from the PC
> > connected to the router by wireless, before I made the changes
> > outlined above. *However, I cannot connect by putting the web site
> > name or 192.168.1.2 in the URL box on FireFox.

>
> Still trying to figure out whether it's likelier to be a firewall issue
> or a daemon issue (what you've described doing should have cleared up
> either one...). *Try logging in to that machine, and see if you can open
> a web page at 127.0.0.1 (of course, that's the loopback address).


Yes. That worked fine.

>
> Were you able to ssh to it from another machine?


I tried

$ ssh 192.168.1.6

from another PC on the LAN and got

ssh: connect to host 192.168.1.6 port 22: Connection timed out

>*Also, if you've got
> another linux machine on the network, try using nmapfe to see if you can
> see any open ports.


It said that all ports were filtered. None were "open" or "closed".
The filtering could have been from the other linux machine on which I
ran nmapfe.

Thanks,
Peter.
 
Reply With Quote
 
 
 
 
Joe Pfeiffer
Guest
Posts: n/a

 
      12-08-2011, 07:57 PM
OtagoHarbour <(E-Mail Removed)> writes:

> On Nov 21, 4:32Â*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
>> OtagoHarbour <peterdlau...@gmail.com> writes:
>> > On Nov 21, 1:25Â*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
>> >> OtagoHarbour <peterdlau...@gmail.com> writes:
>> >> > On Nov 20, 9:19Â*pm, Joe Pfeiffer <pfeif...@cs.nmsu.edu> wrote:
>> >> >> OtagoHarbour <peterdlau...@gmail.com> writes:
>> >> >> > On Nov 19, 10:54Â*am, Not Disclosed <not_disclo...@yahoo.com> wrote:
>> >> >> >> Have you tried reseting your router? Have you opened the proper ports in
>> >> >> >> your ubuntu box?

>>
>> >> >> > Thank you for your reply. Â*I set my port forwarding on the router to
>> >> >> > Web Server
>> >> >> > TCP Any -> 80
>> >> >> > TCP Any -> 443

>>
>> >> >> > I use the same box for both Ubuntu and Windows. Â*It's just that I get
>> >> >> > port forwarding when I boot in Windows but not with Ubuntu.

>>
>> >> >> Since the router is forwarding properly, it sounds like you don't have
>> >> >> the ports open on the windows/ubuntu box under ubuntu. Â*Try turning the
>> >> >> ubuntu firewall off entirely and see what happens -- and, since I've
>> >> >> done things like this myself, make sure the web server is actually
>> >> >> running under ubuntu...

>>
>> >> > Thank you very much for your reply. Â*I tried to turn the Ubuntu
>> >> > firewall off with

>>
>> >> > $ iptables --flush

>>
>> >> > I tried to get the web server running with the following steps.
>> >> > $ cd /etc/apache2/sites-enabled
>> >> > $ sudo vi 000-default
>> >> > Â* Â* Under <Directory /var/www/>
>> >> > Â* Â* changed "Allow Override None" to "Allow Override All"
>> >> > $ sudo Â*a2enmod rewrite
>> >> > $ sudo /etc/init.d/apache2 restart
>> >> > $ cd /var
>> >> > $ sudo chown -R www-data www

>>
>> >> > Unfortunately, I still cannot access my web page, even from my home
>> >> > computers, when the server is running Ubuntu.

>>
>> >> Can you talk to any other daemons (like sshd) on it? Â*Can you ping it?

>>
>> > I can ping to the IP address (192.168.1.6) of the web server, and also
>> > to the web site name, from any computer on my home network. Â*That's
>> > actually progress since I was not able to do that, from the PC
>> > connected to the router by wireless, before I made the changes
>> > outlined above. Â*However, I cannot connect by putting the web site
>> > name or 192.168.1.2 in the URL box on FireFox.

>>
>> Still trying to figure out whether it's likelier to be a firewall issue
>> or a daemon issue (what you've described doing should have cleared up
>> either one...). Â*Try logging in to that machine, and see if you can open
>> a web page at 127.0.0.1 (of course, that's the loopback address).

>
> Yes. That worked fine.
>
>>
>> Were you able to ssh to it from another machine?

>
> I tried
>
> $ ssh 192.168.1.6
>
> from another PC on the LAN and got
>
> ssh: connect to host 192.168.1.6 port 22: Connection timed out
>
>>Â*Also, if you've got
>> another linux machine on the network, try using nmapfe to see if you can
>> see any open ports.

>
> It said that all ports were filtered. None were "open" or "closed".
> The filtering could have been from the other linux machine on which I
> ran nmapfe.
>
> Thanks,
> Peter.


My best guess is that your iptables are still configured to drop
incoming packets. At one time I configured my iptables by hand, but in
recent years I've felt life is just too short. My suggestion would be
to install one of the firewall packages available under ubuntu (I
actually do a lot of my configuration using webmin; firewalling is one
of the many things it can configure), and then turn it off using that
package's configuration tool.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RIS to Windows Desktop deployment 2003 Ammad Shah Windows Networking 1 01-02-2008 02:30 AM
Windows/Ubuntu system Patty Linux Networking 5 04-20-2007 03:04 PM
DNS configuration problem - (Exch 2003 deployment tools) Kizetoni Windows Networking 4 12-15-2005 01:16 PM
Windows XP RIS Deployment George Windows Networking 1 06-26-2004 12:00 PM
Deployment of files to clients (windows 2k, AD) Dror Mor Windows Networking 0 04-26-2004 11:42 AM



1 2 3 4 5 6 7 8 9 10 11