Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Popular
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month
    • S

      Node.js : Introduction - Part 1
      Back-End Development • node-js backend javascript • • sudo

      7
      7
      Votes
      7
      Posts
      1634
      Views

      isuru mahesh perera

      node js <3

    • P

      Java sinhalen..
      Announcements • java • • Prince92

      7
      5
      Votes
      7
      Posts
      1451
      Views

      G

      balagena innwa

    • akashmanujaya

      I want to change map icon as location condition
      Back-End Development • php api googlemaps javascript jquery • • akashmanujaya

      7
      3
      Votes
      7
      Posts
      1434
      Views

      dev_lak

      @akashmanujaya welcome bro...

    • Shaavi

      Agile methodology in software development
      Blogs • agile • • Shaavi

      7
      4
      Votes
      7
      Posts
      1207
      Views

      Nubelle

      good post

    • lkdev

      Nginx: connect() failed (111: Connection refused) while connecting to upstream
      Linux • nginx php server ubuntu • • lkdev

      7
      0
      Votes
      7
      Posts
      6054
      Views

      crxssrazr93

      @lkdev said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      @crxssrazr93 said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      @lkdev

      Make sure php-fpm is already running on the background...

      Then, change your listen 80; to listen 127.0.0.1; .

      @ciaompe said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      Simply, open the following path to your php5-fpm (if you php 7 then open php 7 fpm)

      Php 5

      sudo nano /etc/php5/fpm/pool.d/www.conf

      Php 7

      sudo nano /etc/php/7.2/fpm/pool.d/www.conf

      Then find this line and uncomment it:

      listen.allowed_clients = 127.0.0.1

      Also comment below line

      Php 5

      ;listen = /var/run/php5-fpm.sock

      Php 7

      ;listen = /run/php/php7.2-fpm.sock

      and add

      listen = 9000 after you make the modifications, all you need to restart or reload both Nginx and Php fpm

      Php 5

      sudo service php5-fpm restart

      Php 7

      sudo service php7.2-fpm restart

      Nginx

      sudo service nginx restart

      Guys this works. thanks aganin and lankadevelopers thank you very much

      Anytime mate xD

    • lahirunc

      Xamarin Mobile Development - English Tutorials will begin soon...
      Hybrid App Development • xamarin xamarin android xamarin forms xamarin ios xamarin mobile • • lahirunc

      7
      3
      Votes
      7
      Posts
      1145
      Views

      lahirunc

      @root @yashura99 thanks guys! Will be coming up with the first video soon.

    • lahirunc

      Etiquette to follow when coding...
      Blogs • code • • lahirunc

      7
      2
      Votes
      7
      Posts
      1365
      Views

      F

      thank you mate :heart:

    • lahirunc

      Xamarin Tutorial (English) - Part 4 & 5
      Hybrid App Development • xamarin xamarin android xamarin forms xamarin ios xamarin mobile • • lahirunc

      7
      3
      Votes
      7
      Posts
      1330
      Views

      lahirunc

      @dev_lak @fern @Anjana360 thanks for the support Guys. Will be doing longer videos with good content in the future.

    • Shaavi

      Theory Behind Blockchain
      Blogs • blockchain blogs hashing • • Shaavi

      7
      3
      Votes
      7
      Posts
      1395
      Views

      Shaavi

      @dinlinux thank you

    • Nubelle

      Blockchain Meetup #5 - February 2019
      Meetups & Workshop Sessions ( Free & Paid ) • meetups • • Nubelle

      7
      1
      Votes
      7
      Posts
      1312
      Views

      Nubelle

      we received conformation email

    • kusalrathna

      Flash Game එකට Custom Mouse Pointer එකක් හදමු
      Blogs • gamedev developing html5 flash • • kusalrathna

      7
      2
      Votes
      7
      Posts
      1617
      Views

      kusalrathna

      @dev_lak Thanks bro

    • kusalrathna

      ENTER_FRAME එකකින් game Object control කරන හැටි
      Blogs • game gamedevelopment flash deployment • • kusalrathna

      7
      3
      Votes
      7
      Posts
      1643
      Views

      root

      fatta, request ekak danna admin ta me post fb page eke share karanna kiyala

    • b6

      👉👉 Important things you should avoid in CSS Style Sheet
      Web Development • css web designing html5 html beginner • • b6

      7
      2
      Votes
      7
      Posts
      1291
      Views

      b6

      @dev_lak thank you

    • kusalrathna

      Create A Custom HTML5 Video Player
      Front-End Development • front-end developing html5 javascript • • kusalrathna

      7
      3
      Votes
      7
      Posts
      1339
      Views

      kusalrathna

      @b6 thanks machan

    • kavishka lakshan

      plz help...
      General Discussion • deep learning • • kavishka lakshan

      7
      0
      Votes
      7
      Posts
      1041
      Views

      Nubelle

      NSBM Hodai

    • imadusanka

      Mobile app development frameworks for beginners
      Mobile Application Development • ionic react native • • imadusanka

      7
      0
      Votes
      7
      Posts
      1158
      Views

      ijseGovindu

      For java devoloper,Ill suggest flutter framework.

    • S

      Idea: Let's start a LK Developer Discord server!
      General Discussion • idea • • sudo

      7
      3
      Votes
      7
      Posts
      1077
      Views

      Nubelle

      @pasindu785 thanks bro

    • pushpa kumara

      Python - Tkinter GUI designing
      UI / UX • python programming gui tkinter ui designing • • pushpa kumara

      7
      4
      Votes
      7
      Posts
      1026
      Views

      pushpa kumara

      @Malith 💐💐💐😘

    • Theesan

      Help me on Payment Gateway in PHP
      Web Development • php payment gateway • • Theesan

      7
      0
      Votes
      7
      Posts
      1092
      Views

      dev_lak

      @Theesan

      <?php // A sample PHP Script to POST data using cURL // Data in JSON format $data = array( 'username' => 'tecadmin', 'password' => '012345678' ); $payload = json_encode($data); // Prepare new cURL resource $ch = curl_init('https://api.example.com/api/1.0/user/login'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); // Set HTTP Header for POST request curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Content-Length: ' . strlen($payload)) ); // Submit the POST request $result = curl_exec($ch); // Close cURL session handle curl_close($ch); ?>

      this is a curl example.

    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 10 / 10