473,799 Members | 3,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to connect locally on server machine?

2 New Member
How to connect locally on server machine?
Jan 29 '11 #1
1 1208
horace1
1,510 Recognized Expert Top Contributor
you can use the localhost host IP address 127.0.0.1, e.g. a client connecting to a server on port 9000 on the local machine
Expand|Select|Wrap|Line Numbers
  1.       tcpClient.Connect("127.0.0.1", 9000)
  2.  
or you can use localhost
Expand|Select|Wrap|Line Numbers
  1.       tcpClient.Connect("localhost", 9000)
  2.  
Jan 29 '11 #2

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

Similar topics

0
3295
by: Ian | last post by:
Dear All, I just downloaded & installed MYSQL. It seemed to work and I can start it and enter my password and change a directory but that is about all. I have been ready and playing "hit & miss" all afternoon and it seems to have something to do with the "mysql_install_db" not being installed correctly -- I have tried multiple installs with multiple downloaws. My log. . .
3
1824
by: Mark Lewis | last post by:
I am having trouble connecting to my local sql server from either the Server Explorer or vb.net code. The problem is connected to the Norton Internet Security 2005 Firewall as when I disable Norton everything works and if Norton is enabled but the PC is not plugged into the network it also works. When I am connected to the network the Firewall does pop up asking whether or not I want to allow my vb.net program to access a DNS. I have...
1
121538
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0 alpha) so I deinstall mysql5-server and mysql5-client And then I install mysql41-server and mysql41-client on FreeBSD 5.3 by ports but now , mysql is not workable
2
1658
by: Mike Malter | last post by:
I am having problems using https when calling a page on my local machine. I am running XP professional. All I get is a general error page telling me there are problems with my page. I have installed a certificate from our domain CA on the single web site allowed in IIS 5.1. I've successfully installed certs on our qa and prod sites from our domain CA too. Everything works fine on both of those sites (yes, I am using a non trusted domain...
0
1710
by: Michael Höhne | last post by:
Hi, we're developing some web services and use the local development server of Visual Studio 2005 to create, run and debug the project. The web service methods connect to a database hosted on a dedicated server and the Microsoft CRM 3.0 server, also on a separate machine. As the CRM server installation makes changes to the Active Directory, they are located in a separate domain, while the development machines are member of the companies...
2
1277
by: יוני גולדברג | last post by:
Hi, I have visual studio 2005 on client machine and another server machine (with sql server 2000 and IIS). Also i have .sln (visual studio solution) file with some asp.net project i have to change and upgrade. Where should i put the .sln file (visual studio solution)? How do i connect with VS to the server machine to change and debug the code? For some reason, it is always looking for the virtual directory - "dotNetNuke_2" in my...
3
1224
by: kkp40 | last post by:
Hi. I have a problem when I try to run an application against a local SQL- server, it works find when I run the application against a SQL-server on a server. The problem is this I have 2 databases and some times I have to access (from the program) SP's that is located in "the other" DB (not the one I'm connected against). This is done by setting the name of the DB, owner and SP-name (MyOtherDB.dbo.sp_name) in an SqlCommand object. When...
3
10558
by: Shepherd.Travis | last post by:
I'm attempting to rename a Windows 2003 Server machine that has DB2 9.1 Express with Fixpack 2 installed. After I rename the machine and reboot, I get an error: DB2 UDB: SQL1042C An unexpected system error occurred. Service Control Manager: At least one service or driver failed during system startup. Use Event Viewer to examine the event log for details.
12
5646
by: =?Utf-8?B?YXVsZGg=?= | last post by:
i current have a way to read both local and remote machines registry keys and create a textual view (.txt output). i now looking for ways to do export of local and remote mahcine registry keys into ".reg" file format via C#. is this do able? what do i need to research to do this? or is where i need to windows WinApi?
7
5948
by: RN1 | last post by:
Is it possible to connect to my local SQL Server 2005 database from a remote web server? If yes, what ConnectionString do I use? Thanks, Ron
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9546
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,...
0
10490
Oralloy
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...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5467
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...
1
4146
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
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.