Jump to content
Sign in to follow this  
arulsr

Ubuntu - Http Port

Recommended Posts

Salam puteranian,

sy ingin menukar port http pada webserver ubuntu nih..
dah tukar pun ke port 800
so, kalo access localhost:800 sepatutnya dapat..?
ada salah tmpt ke?

cara yg telah dibuat, iaitu ubah port kat /etc/apache2/port.conf

ada tmpt lain kena ubah lagi??

Share this post


Link to post
Share on other sites
dah..
port tu bila ubah blk ke 80 kat page localhost ade "it works"
bila try letak port lain "localhost:XX" 404 not found lak..

sbb tuka pun..coz port 80 dan port 8080 dah guna kat BSD ngan centos..

Share this post


Link to post
Share on other sites
[quote name='arulsr' date='09 March 2010 - 10:09 AM' timestamp='1268100599' post='1020697']
dah..
port tu bila ubah blk ke 80 kat page localhost ade "it works"
bila try letak port lain "localhost:XX" 404 not found lak..

sbb tuka pun..coz port 80 dan port 8080 dah guna kat BSD ngan centos..
[/quote]


http://www.debianadmin.com/apache2-web-server-with-php-support-in-ubuntu.html


ada tulis pasal tu...

ikut2nya mmg dah betul, soalannya ubah port tu, kat line mana? confirm ke?

Share this post


Link to post
Share on other sites
tadi try kat /etc/apache2/ports.conf

Listen 80 tuh dituka ke Listen 800..
betul kan kat situ lepas tu kita restart apache..

/etc/init.d/apache2 restart

404 not found gak..

Share this post


Link to post
Share on other sites
[quote name='arulsr' date='09 March 2010 - 11:31 PM' timestamp='1268148667' post='1020820']
tadi try kat /etc/apache2/ports.conf

Listen 80 tuh dituka ke Listen 800..
betul kan kat situ lepas tu kita restart apache..

/etc/init.d/apache2 restart

404 not found gak..
[/quote]


try surf ke page tu dari internet ke dari local server tu ke port ip 127.0.0.1:800 ?


kalau dr luar maybe masalah prt fwding, kalau dr localhost, mmg masalah kat apache tu...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...