You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

This article is about opening relevant port for Joget to connect to MSSQL.

ทำตามคำแนะนำจนถึงขั้นตอนที่ 2 ตามที่ระบุไว้ใน Configure สำหรับ MS SQL Server จากนั้นเราจะต้องเปิดใช้งานพอร์ตผู้ฟังที่จำเป็นสำหรับ Joget เพื่อสร้างการเชื่อมต่อ

Step 3: Enabling TCP/IP on Microsoft SQL Server 

ขั้นตอนที่ 3: การเปิดใช้งาน TCP / IP บน Microsoft SQL Server 


Figure 1: Sql Server Configuration Manager

รูปที่ 1: เครื่องมือจัดการการกำหนดค่าเซิร์ฟเวอร์ Sql

  1. Enable named pipes and TCP/IP.

    เปิดใช้งาน pipes ที่มีชื่อและ TCP / IP

  2. Open up TCP/IP Properties.

    เปิดคุณสมบัติ TCP / IP


Figure 2: IP2 - TCP/IP Properties Under Protocols for SQLEXPRESS

รูปที่ 2: IP2 - คุณสมบัติ TCP / IP ภายใต้โปรโตคอลสำหรับ SQLEXPRESS

  1. Right-click on TCP/IP and select Properties.

    คลิกขวาที่ TCP / IP และเลือก Properties

  2. Go to IP2, set your local IP Address in IP Address.

    ไปที่ IP2 ตั้งค่าที่อยู่ IP ในเครื่องของคุณในที่อยู่ IP

  3. Remove TCP Dynamic Ports value.

    ลบค่า TCP Dynamic Ports


Figure 3: IPALL - TCP/IP Properties Under Protocols for SQLEXPRESS

รูปที่ 3: IPALL - คุณสมบัติ TCP / IP ภายใต้โปรโตคอลสำหรับ SQLEXPRESS

  1. Go to IPAll.

    ไปที่ IPAll

  2. Empty TCP Dynamic Ports value.

    ล้างค่า TCP Dynamic Ports

  3. Set TCP Port value to 1433.

    ตั้งค่าพอร์ต TCP เป็น 1433


Figure 4: Restart SQL Server Service for changes to take effect

รูปที่ 4: เริ่มบริการ SQL Server ใหม่เพื่อให้การเปลี่ยนแปลงมีผล

  1. Restart the server for the changes to take effect.

    รีสตาร์ทเซิร์ฟเวอร์เพื่อให้การเปลี่ยนแปลงมีผล


Figure 5: Verify the listening port using command prompt

รูปที่ 5: ตรวจสอบพอร์ตการฟังโดยใช้พรอมต์คำสั่ง

  1. Verify that the listener is working through command prompt by executing netstat -ao.

    ตรวจสอบว่าผู้ฟังทำงานผ่านพรอมต์คำสั่งโดยดำเนินการ netstat -ao


Figure 6: Verify instance based on the PID

รูปที่ 6: ตรวจสอบอินสแตนซ์ตาม PID

  1. Check on which process instance is listening to the port by executing tasklist /fi "pid eq 4488".

    ตรวจสอบอินสแตนซ์กระบวนการที่กำลังฟังพอร์ตโดยเรียกใช้งาน tasklist / fi "pid eq 4488"

  • No labels