DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th June 2008
kapom kapom is offline
New User
 
Join Date: Jun 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default How to open port 80 on FreeBSD

Hello everybody,

I newbie for FreeBSD. Now i'm install FreeBSD Lasted version in my notebook and install apache web server form ports.Apache install was sucessesfull but i cannot acess webserver by another computer. i will try telnet to my notebook in result cannot respond plz helpme.
Reply With Quote
  #2   (View Single Post)  
Old 18th June 2008
Nightweaver's Avatar
Nightweaver Nightweaver is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Belgrade, Serbia
Posts: 47
Thanked 5 Times in 4 Posts
Default

If you are using FreeBSD then what is this thread doing in OpenBSD subforum?

Can you ping your machine from any other machine on the local network? How are you connected to your LAN? Or are you trying to access your box from the Internet? You'll have to give us a bit more info if you want us to help you.
Reply With Quote
  #3   (View Single Post)  
Old 18th June 2008
kapom kapom is offline
New User
 
Join Date: Jun 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

OH i am sorry. miss forum

i can ping form n/b to anthor machine in local network but cannot open web from n/b.

Last edited by kapom; 18th June 2008 at 11:29 AM.
Reply With Quote
  #4   (View Single Post)  
Old 18th June 2008
Nightweaver's Avatar
Nightweaver Nightweaver is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Belgrade, Serbia
Posts: 47
Thanked 5 Times in 4 Posts
Default

Have you got any firewalls enabled? Is Apache working at all? Try: sockstat -4 | grep httpd to see if Apache is listening on port 80.
Reply With Quote
  #5   (View Single Post)  
Old 18th June 2008
kapom kapom is offline
New User
 
Join Date: Jun 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

You need to be root to bind to port 80. complete
You need a directive in /etc/rc.conf. complete
Consider using the /usr/local/etc/rc.d/apache[..] rc script. i don't understand

same result cann't open -_-

now i install apache again
Reply With Quote
  #6   (View Single Post)  
Old 18th June 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 446
Thanked 69 Times in 46 Posts
Default

Can you explain how you're installing apache?
__________________
Kill your t.v.
Reply With Quote
  #7   (View Single Post)  
Old 18th June 2008
kapom kapom is offline
New User
 
Join Date: Jun 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

Update Ports Collection and run this command

# cd /usr/ports/www/apache22
# make config ; make install clean


if i miss some step plz advise me
Reply With Quote
  #8   (View Single Post)  
Old 18th June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Thanked 25 Times in 24 Posts
Default

Why don't you start RTFM and read what
apachectl configtest
tell you?
__________________
da more I know I know I know nuttin'
Reply With Quote
  #9   (View Single Post)  
Old 19th June 2008
kapom kapom is offline
New User
 
Join Date: Jun 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

thx every body now this problem is resolved. I am new install freeBSD again and config firewall step by step follow http://http://www.cyberciti.biz/faq/...ipfw-firewall/
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
namp show me a 1720 open port ?? killa74 OpenBSD Security 11 11th February 2009 02:55 PM
cannot open cloning pty l2fl2f FreeBSD General 2 10th December 2008 07:30 PM
PF wont open port despite rules... Dain_L OpenBSD Security 3 12th September 2008 01:14 AM
port JDownloader to freebsd? tfcheng FreeBSD General 2 29th August 2008 10:20 PM
What Open Source package shall I run? satimis Off-Topic 2 2nd June 2008 12:43 PM


All times are GMT. The time now is 05:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick