Webserver Over Internet Not Just Localhost?
Dec 25, 2010
I have made a "webserver" in vb.net the problem is that it seems like it's just listening to 127.0.0.1 (localhost) and not request that is sent over the internet. I have changed the listening adress to my public internet ip but it's still just listening to local requests.
Do someone have a source code with a working example of how this could be accomplished?
Dim address As IPAddress = IPAddress.Parse(79.138.xxx.xxx)
Dim EndPoint As IPEndPoint = New IPEndPoint(address,8082)
Dim ss As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
ss.Bind(EndPoint)
ss.Listen(20)
View 1 Replies
ADVERTISEMENT
Jun 28, 2010
Alright I am trying to create this: [url]
I am having some issues doing this tutorial: [url]
At the step server=localhost; user id=root; password=; database=test
What do I put instead of localhost?
View 7 Replies
Dec 22, 2009
I have a database setup on my localhost hosting [C:xampp] and I want the mysql server from that to connect to the my one on Visual Basic 08, wait no - the other way round. I want Visual Basic 08 to connect to my database which is hosted locally via my computer.
View 1 Replies
Mar 14, 2012
Is it possible in .net 2.0 to enable calling web service only from localhost and to disable calling web service from outside?
View 1 Replies
Aug 11, 2011
I've made a WCF server and tested and debugged it only on localhost so far. I wanted to measure its LAN speed and couldn't get it to work. The client returned a EndPointNotFoundException. Below are the configurations I use on the client and server.[code]
View 2 Replies
Mar 19, 2011
I'm trying to run the website (case study for school) but i encountered an error: could find localhost.[code]...
View 6 Replies
Aug 17, 2010
I'm interested in creating a simple localhost server that can serve dynamically generated data from a ListView into a formatted web page. I'd also like to "control" or otherwise have the program execute functions based on what links are clicked.I've been searching for solutions and it looks like it would be a fairly simple task but I'm not sure exactly what the best way to go about this would be.
View 9 Replies
May 24, 2012
how to temporarily save the user input to the pc he is using then save to another pc in the network later. Our LAN sometimes disconnect or there maybe power interruptions and I don't want that the input of the user disappear due to disconnection or power interruption. What is the easiest way to accomplish this?
Here's what I'm working so far. The data saves to another pc.
Imports System.Data.SqlClient
Public Class formGrammarI_Page01to04
Dim db As New EPTR_DataDataContext
[Code]....
View 7 Replies
Jun 23, 2010
When the web service is uploaded to the external server the desktop application has no problem finding and using the web service which access an Oracle DB to send/retrieve information. However, when I go to properties and change the 'Web Reference URL' of the Web Reference to localhost there seems to be a problem with communicating with the DB.
[Code]...
View 20 Replies
Dec 13, 2010
I have the MySQL connector dll for .net, but am having problems.
1) When I go to phpmyadmin on cpanel, it says the server is localhost. I am confused by which IP i am supposed to use to connect, as im pretty sure just localhost will not work.
2) When connected, can i use credidentials from an account already made to access the database, or do i need to use the admin credidentials?
View 7 Replies
Oct 5, 2011
I'm trying to see if a file I have loaded is located in the "Xampp-localhost-folder".
I'm loading a php-file-path into a textbox. After pressing a button the php file is loaded in a webbrowser. Now here's a problem. .PHP-files don't load local. The user needs to have at least Apache (MySQL/PHP/FileZilla FTP Server etc) installed so the page can be loaded via localhost.
The most important service that needs to be running is httpd.exe (Apache) or FileZillaServer.exe.
Public Function ProcessesRunning(ByVal ProcessName As String) As Integer
Try
Return Process.GetProcessesByName(ProcessName).GetUpperBound(0) + 1
[Code].....
View 1 Replies
Jun 1, 2010
What happen if i want connect to a database server is not my computer local host, is another computer localhost in LAN network? how it works? [code] how about i wan connect the server is another computer localhost database?
View 1 Replies
Jul 21, 2010
I have search google but and have done all their instructions,but it doesn't solve my problem at all....
1. I installed visual studio 2008 in drive D:\ and mysql connector 1.1 in drive C:\
2. I try to change my root password but it didn't work
Here is my module:
Imports MySql.Data.MySqlClient
Module Module1
Public conn As New MySqlConnection
[code].....
But if I run this program, i always got a message "Access denied for user "@'localhost' (using pasword:NO)" and i have set password for root,so why it shows "using password:NO"
View 3 Replies
Jan 31, 2011
I've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
View 1 Replies
Jun 11, 2009
I have an application which connects to a database, retrieves a username from a user's table and matches it against the username retrieved with System.Security.Principal.WindowsIdentity.GetCurrent.Name.On my localhost, everything works fine. The database exists on the development server but the application lies on my localhost. All of my authorization and authentication techniques are running smoothly.However, when I publish my application to the development server, I'm faced with the following error.Cannot open database requested in login 'databaseName'. Login fails.Login failed for user 'DevelopmentServerNameASPNET'.
[Code]...
View 4 Replies
Apr 11, 2010
Is there any way to get files from your webserver to listbox? There is code to get files from you computer, but how to get them from a webserver. [code]
View 1 Replies
Feb 12, 2009
I had my page, capturing the users network name: company user, but I never had to authenticate with windows.All of a sudden, I am getting prompted to log into the webserver.
[Code]...
I have Integrated Windows authentication set up in the Authentication Methods from Directory Security.
The login prompt does not happen when I first open up the page, it happens when I am trying to do updates (which is to a SQL table), but I don't see how this would relate. But trying to give all the detail.
View 2 Replies
Oct 15, 2011
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 Replies
Mar 31, 2011
I wrote an ASP.NET web application. My application created a request with returning URL other e-commerce server. I want to get this.
[URL]
I used Request.Url.AbsoluteUri. But it's not OK for typing address by user.
View 1 Replies
Oct 1, 2008
Is there a way i can read a text file without downloading say at [URL] and show that textfile data in a text box or label? Also, can i get it to download say ZIP files from the site and unpack it? Or can i only download and you have to manually unzip it? Im pretty sure ive seen an unzip function somewhere.
View 1 Replies
Oct 25, 2011
I have been using vb.net for a while. I am trying to figure out if there is a way that i can update file in a given folder to ftp and get any file on server back using vb.net?
View 2 Replies
Oct 8, 2011
How can I upload the data from my VB.net program to a web server? I want it to be in JSON so I can view it my from my Android application.
View 1 Replies
Jan 29, 2010
Im Building a file storage application that saves images to a web server but I have come across an issue how do i go about uploading the files to the server how do i go about useing FTP inside of a vb application An Example.... I have a button that opens a file select dialog you select the file it puts the location in a text box then theres a button that you click and it uploads that file to the folder on the web server.....
View 6 Replies
Jun 8, 2012
I have built an Updater for my application, It connect to my webserver and downloads a txt file which works fine, But when it comes to download the new exe from the webserver is exceptions saying that the file was not found on the server, But if I copy and paste the address into the web browser it comes up with a file download box.Is this by design for security reasons and is there a way around it or is something wrong? Here is the code im using:My.Computer.Network.DownloadFile("http://mydomain.co.uk/WOCU/Install/WOCU." & NewShortVer & ".exe", Application.StartupPath & "WOCU." & NewShortVer & ".exe")The download path currently should be http://mydomain.co.uk/WOCU/Install/WOCU.0.0.0.7.exe and saved as WOCU.0.0.0.7.exeI have put in the code on the line before:
View 1 Replies
Jan 5, 2010
My question is im rebuilding an app i made years ago but i want to add the auto update i have the file downloader down to a T but i dont wanna use the Click once auto-update So i want to read a text file from a online server and then check if the version info inside matches the my.setting.build string inside my application if it doesnt it opens theupdate.exe the that dose what i have it programmed to to
View 3 Replies
Mar 3, 2009
Clickonce deployment 'Publish succeeded,' however not files are uploaded to the server, and the deployment webpage does not start, even though 'automatically generate deployment web page after every publish' is enabled.The problem began after copied the application from running on 'XP' and tried to publish from vista.
View 1 Replies
Mar 21, 2009
ftp copy image from webserver in vb2005
View 14 Replies
Sep 29, 2011
I have a dll created in VS 2010. i put it into the app_code folder on the webserver and then i accesses it by trying to use imports GetWebPageData
View 1 Replies
Oct 11, 2011
I wanted to used standard TCP/IP connection using MYSQLconnection. Is this the best way?
View 1 Replies
Sep 7, 2010
I am using a vb.net 2008 application with sql database on webserver , Can I run this application through Internet explore with static ip address i.e. Can I use this application on internet with static IP Address
View 3 Replies