473,836 Members | 1,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

server keeps rejecting tcp connections!

59 New Member
i created a program in VB.NET that connects with tcp to a server... the problem i have is my server keeps rejecting the connections... i have no skill in networkin and i need some help, its probably something very basic but i still cant figure it out... im pretty sure its not my code although it is possible that i overlooked something else simple in my code. Any help would be greatly appreciated! thanks in advance
Jan 6 '09
16 5639
489 Recognized Expert Contributor
That means that you are not using the Window Firewall. Most likely you have RRAS enabled on the server which is using ipnat.sys. If that's the case you will have to look into the configuration of your RRAS to enable access
Jan 13 '09 #11
59 New Member
yea i do have it enabled, but im not very good with servers, could you tell me how to enable access?
Jan 13 '09 #12
489 Recognized Expert Contributor
I'm affraid I don't have any experiance using RRAS myself except in turning the service off to use firewall. Maybe someone else could help you there.
Jan 14 '09 #13
59 New Member
so if RRAS is on does that mean that i cant have firewall running?
Jan 14 '09 #14
489 Recognized Expert Contributor
Correct. Your windows firewall would need to have use of ipnat.sys but if RRAS is using it, it won't be able to start. Now RRAS will act as sort of a basic firewall if you want to setup exceptions on it to block ports, but it should be by no means your only means of protection. The Firewall on your router should be eanbled and then you use port forwarding to direct your required incomming ports to the server. If the application that you are using requires an ICMP responce from your server you may also have to enable it on your router.
Jan 15 '09 #15
59 New Member
hmm... well i cant see why it keeps rejecting connections...
Jan 16 '09 #16
489 Recognized Expert Contributor
You could try to do an online port scan from your server to see if that port is actually open. Just type something like "Firewall Test" into google and you can find some sites that will do a port scan to see what is open.

If the port shows as open then it's probally a problem with your program, if not then you are going to have to dig more into why the port is still blocked.
Jan 16 '09 #17

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Mark | last post by:
Hi - I have a rather unreliable host just now - but they offer .net, sql server and SSL for a reasonable price. Problem is, the domain is hosted on a shared server - and it keeps going down apparantly because of code which is less than clean, on some peoples sites. (ie. not closing connections etc). I am considering moving to a decicated server - but at this point in time, cannot afford a full SQL Server licence for it - however, the...
by: Jason | last post by:
After a server accepts a client connection on a certain port, a new socket is created on the server on a system managed dynamic port to handle the connection. Please confirm this. If so, how can I get the number of the dynamic port in the server (in server code)? Using LocalEndPoint.Port just returns the original listener port number. Thanks,
by: Chris | last post by:
I need to know exactly what VBA lines Create and Destroy SQL Server Processes - i.e. those visible in Enterprise Manager under Management > Current Activity > Process Info. Why? I am experiencing strange behaviour with Processes that are created when I create a DAO Database Object with the following line: Set m_ResDatabase = DBEngine.Workspaces(0).OpenDatabase(strDSN, False,
by: Emily Jones | last post by:
Dear All I've got a MS Access application. Split FE/BE. 9 user LAN. I'm considering moving to a server backend. Probably SQL Server, with an Access FE still. Because: 1. We've been getting many 'disk or network error' messages. Emphasising what people have said - that Access is sensitive to network instability. The BE hasn't corrupted yet, but I'd rather not wait for that to happen.
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed both the iis and sql server in a single machine. Not too long ago, the machine had some hardware problems, and management has decided to purchase new servers, for both asp.net and sql server.
by: Ron Davis | last post by:
I have recently discovered Python and like it quite a bit. I would like to use it on a new project I am starting. The project will gather data from several web services and present the collected data to browser users through a web server. So basically I need a full-time web server and a separate way to poll web services for their data. There is no database involved. The problem is that I have tried several Python web servers...
by: Jim Devenish | last post by:
I have converted an Access back-end to SQL Server back-end but am having some problems. The Access to Access application has been running well for some years. I have successfully copied all the data to SQL Server and linked the tables to the front end .mdb (I am not using .adp). Some queries were performing poorly so I have converted these to Views and linked to them. Everything works well with good response but when about 8-10...
by: jimladd | last post by:
Hi, I have a ASP.Net v 1.1 with a SQL Server 2000 database site on a server with 1/2 GB of memory. The memory allocated to SQL Server continues to grow irrespective to what I set on the memory tab, of the properties pane in enterprise manager. In my code I have a single class that handles all database connections, in this all connections are closed.. All my sql is held in stored procedures. I have noticed that if the site pulls back a some...
by: Steve | last post by:
Hi All I have a windows application (written in VB.net 2005) which I update via web downloads to my clients computers The downloaded file is saved in a subfolder until the next time the clients computer is started An entry in the registry HKCU\Software\Microsoft\Windows\CurrentVersion\Run launches my Update program on the next windows XP start
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.