Ports to open

Fommo
Member Posts: 138
Hi there
This may be more of a SQL question than NAV, but I try it here anyway.
I have a customer with separate domains. The SQL Server for the third party database I need to integrate with is residing within one domain and the NAV database is residing in another. Between then are a lot of firewalls and stuff. Now I got the question from their IT department which ports that should be opened between NAV and the other SQL Server.
I'm using SQLDMO to do the talking (both reading and writing). I've read about some ports 1433 and 1434 to be opened for UDP/TCP. Is that correct at all or is there some other ports to open to communicate between NAV and other SQL Server? Should both ports be bidirectional? Both UDP/TCP? :-k
Best Regards
/Simon
This may be more of a SQL question than NAV, but I try it here anyway.
I have a customer with separate domains. The SQL Server for the third party database I need to integrate with is residing within one domain and the NAV database is residing in another. Between then are a lot of firewalls and stuff. Now I got the question from their IT department which ports that should be opened between NAV and the other SQL Server.
I'm using SQLDMO to do the talking (both reading and writing). I've read about some ports 1433 and 1434 to be opened for UDP/TCP. Is that correct at all or is there some other ports to open to communicate between NAV and other SQL Server? Should both ports be bidirectional? Both UDP/TCP? :-k
Best Regards
/Simon
0
Comments
-
Hi,
Port 1434/TCP is correct but only for the default instance of SQL database server. All others instances and other services use dynamic ports - SQL Browser is the central service which manages ports using by services
Basically the ports are open in sequence - depends on order of service startup.
As for opening incoming/outgoing - depends from which side you're looking
From SQL Server side you need to open 1434/TCP incoming from any IP (or desired subnet) to allow connecting to SQL service. SQL itself don't make any connections (unless instructed) so 1434/TCP/in is a minimum.
From workstation/external network point of view you need to open 1434/TCP outgoing from the subnet or workstation IP to the SQL Server's IP.
Term 'inbound' or 'outbound' relates to the initial connection direction (where is the source and where destination), so you don't need to open anything bidirectionally as under normal circumstances communication goes one way (don't mess with TCP/IP packets flying both ways). Returning response packets in the scope of connection are permitted by firewall as far as I know.
Regards,
Slawek.Slawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions