Re: httpd Doesn't Seem To Work In Fedora 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Thank you, I get the impression that httpd is listening on port 443 but not port 80 and that is the problem:

443 is https port, so this is most probably your configuration problem.


The issue seems to involve how I have my DNS and dhcpd set up. I use dhcp to assign specific ip addresses to specific host names. However I'm not doing a very good job of it with my laptop. I don't know how to get the same IP address (192.168.1.46) assigned to both my wired and wireless network adapters (which have different MAC addresses of course), so that regardless of which adapter I am using at the moment, I can get httpd to work.

If I code this in httpd.conf:

Listen deafeng3.signtype.info:80 and then restart httpd, I will get this output:

[root@deafeng3 conf]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 192.168.1.46:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]


If I code this in httpd.conf:

Listen 192.168.1.48:80


Then it works fine if I open Firefox and browse to http://192.168.1.48/

but

not if I browse to http://localhost/. Maybe for this I need to specify an additional 'Listen' entry, 'Listen localhost:80' or 'Listen 127.0.0.1:80'.

The real issue is I would like to have both my network adapters recognized as representing the same hostname on dhcpd, and so assign it the same IP address. I can see that can be problematic. So perhaps it would be better to have httpd recognize either IP address as being for the same hostname.


Here is what ifconfig says:

[root@deafeng3 conf]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:70:C1:AA:79
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Memory:f6fe0000-f7000000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2004 (1.9 KiB) TX bytes:2004 (1.9 KiB)

virbr0 Link encap:Ethernet HWaddr 86:2B:40:DA:C2:A4
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::842b:40ff:feda:c2a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:6380 (6.2 KiB)

wlan0 Link encap:Ethernet HWaddr 00:21:6A:0C:7D:FE
inet addr:192.168.1.48 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:6aff:fe0c:7dfe/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4331 errors:0 dropped:0 overruns:0 frame:0
TX packets:2218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1715481 (1.6 MiB) TX bytes:242937 (237.2 KiB)

wmaster0 Link encap:UNSPEC HWaddr 00-21-6A-0C-7D-FE-D0-FA-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


I guess this is a new laptop and networking wrinkle that I need to deal with.

Bob


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux