arulsr 5 Report post Posted March 9, 2010 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?? Quote Share this post Link to post Share on other sites
FryShadow 90 Report post Posted March 9, 2010 dah restart service httpd ? Quote Share this post Link to post Share on other sites
arulsr 5 Report post Posted March 9, 2010 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 Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted March 9, 2010 [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? Quote Share this post Link to post Share on other sites
arulsr 5 Report post Posted March 9, 2010 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 Share this post Link to post Share on other sites
FryShadow 90 Report post Posted March 10, 2010 cuba guna port lain, 8181 ke make sure tak bind port2 yang common Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted March 10, 2010 [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... Quote Share this post Link to post Share on other sites
arulsr 5 Report post Posted March 12, 2010 ok2 bro..thanks nnt sy update blk.. ni tak smpat tgk blk dari ari tak jadi2 wat tuh.. Quote Share this post Link to post Share on other sites