On 19/10/12 15:27, Ralph Corderoy wrote:
Hi Tim,
Well the above shows that it's listening on all interfaces because of
the `*' in `*:http', and on the standard TCP port, `http' which should
be 80 in /etc/services. So it's not a matter of picking the right
interface to talk to it on.
OK get that bit and yes 80 is listed in /etc/services under tcp and udp
(I guess that was obvious as other wise I would not be able to browse
Pick one of the `inet' listed in `ip address show', e.g. 127.0.0.1, and
try
printf 'GET / HTTP/1.0\r\n\r\n' | nc 127.0.0.1 80
I am lost with this bit, simply copying the above command returns
nothing, it just sits there until I press ctrl-c. I tried changing the
ip to 127 0.1.1. which is what is in my /etc/host file for the PC name
(see my previous reply 15/10/12 7:31am)
As to other IP I not sure which ones I should try or how to find it, I
don't really understand "`inet' listed in `ip address show', e.g.
127.0.0.1 " part of your reply (I am not a cli type of guy).
We know apache2 is listening so you should be able to connect and get a
reply. If that works then it's down to Apache's configuration versus
what you're asking of it.
Cheers, Ralph.
All I am asking apache to do is to be able to show a web page on my
network at home, I am not interested in doing anything fancy as such as
the idea is to only view a page to ensure it looks correct and give
other on my network the same option (which they can do, it just does not
work on my pc). All I have done is install apache, I have made no
changes to an config files. I have done this in the past on serveral
different PC's and it has worked out of the box so to speak.
Tim
--
Next meeting: Bournemouth, Tuesday, 2012-11-06 20:00
Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/
New thread on mailing list: mailto:[email protected]
How to Report Bugs Effectively: http://goo.gl/4Xue