|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hello
i have just installed fedora core on my computer i am having the problem that i can get localhost, 192.168.0.102, and 127.0.0.1 but not myip no firewall and i have port 80 opend on my router my isp does not have port 80 blocked because i have had apache on linux before i've attached my http.conf file please help i need apache for so many things |
|
#2
|
|||
|
|||
|
Quote:
question, did you manually set the ipaddress, or did you have the dhcp server do it for you?
__________________
Apache Expert |
|
#3
|
|||
|
|||
|
Quote:
dhcp server did it for me i dont know if this has anything to do with anything but both computers on the router have the same ip adress |
|
#4
|
|||
|
|||
|
Quote:
no two computers need the same ip, so if that's the case; i suggest you change one of their ip's. ![]() |
|
#5
|
||||
|
||||
|
Both computers may have the same external IP address, but they should have different internal LAN IP addresses.
Have you set your router to forward all requests to port 80 to the necessary computer? |
|
#6
|
|||
|
|||
|
what should i change the ip to and how do i forward them to just one
do you mean like to 192.168.0.102? |
|
#7
|
|||
|
|||
|
btw im using linux i know how to do it in windows
|
|
#8
|
||||
|
||||
|
The thing I'm referring to is usually configured on the router, often through a web interface. Linux or Windows shouldn't matter.
You will need to tell the router that whenever a request for port 80 comes in, send that request over to 192.168.0.102 (or whichever PC the linux webserver is running). This is called port forwarding. Are you able to access the webserver from a different computer on the network, using the linux machine's network IP address (192.168.0.x)? |
|
#9
|
|||
|
|||
|
correction i CANT get it though localhost or but i can though 192.168.0.102 i look at my router configuration it does not have port forwarding to specific ip
i have been messing around with linuxs dns server |
|
#10
|
|||
|
|||
|
i found this in network connections
Hostname: localhost.localdomain primary dns: 192.168.0.1. secondary: tertiary: dns search path:localdomain do i need to edit this |
|
#11
|
|||
|
|||
|
Quote:
yes you do my friend, sorry i wasn't on my fedora server at the time i first made my response to you. yes you need edit that now do you have any idea as to what your dns settings are? also there is another one about the ipaddress you need to add for that computer it'self. did you do that yet? |
|
#12
|
|||
|
|||
|
well this is from my router configuraitoion (d-link DI-604)
Device Information Firmware Version: 3.51 , 22 Nov 2004
LAN
MAC Address
00-13-46-16-81-3A IP Address
192.168.0.1 Subnet Mask
255.255.255.0 DHCP Server
Enabled WAN MAC Address
00-13-46-16-81-3B Connection
DHCP Client Connected IP Address
xxx.xxx.xxx.xxx Subnet Mask
xxx.xxx.xxx.xxx Default Gateway
xxx.xxx.xxx.xxx DNS
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxxMod edit: I've removed the sensitive data from this post. Wasn't really necessary, and shouldn't really be posted like that... Jon. |
|
#13
|
|||
|
|||
|
if any what should i change somthin to and how
|
|
#14
|
|||
|
|||
|
do you not have a gateway server?
|
|
#15
|
|||
|
|||
|
huh???
|
|
#16
|
|||
|
|||
|
What you see when you type
netstat -na ? Thanks. |
|
#17
|
|||
|
|||
|
i see
(too long for post) |
|
#18
|
||||
|