• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Help connecting to server hosted on my network

Rasputin

New Member
Joined
Feb 25, 2011
Messages
85 (0.02/day)
Location
Cumbria, United Kingdom
System Name My build
Processor AMD Llano A8-3850 APU
Motherboard Gigabyte GA-A75M-UD2H
Memory 8GB G.Skill Ripjaws 1600MHz
Storage Samsung Spinpoint 1TB
Display(s) HANNS-G HH221 1920x1080
Case Coolermaster Elite 331
Power Supply 500W
So, I'm making a program that allows multiple users to communicate using an IM program I have created. It works perfectly over a local network, users can send and view messages.

The program uses a database hosted on one machine in my home network.

I want to make it so I can use it from university and so I need to make it so the program does not use local "192.168.x.x" addresses as this would not work. I've tried using telling it to connect to my external IP but this ain't working.

I have tried routing connections sent on port 80 to my desktop which is acting as the server with no success.

Not really sure what else to say, any more detail and it could become a programming question so i'm trying to keep this as network-oriented as possible..

If you need anymore details i'll put them up!
Hope someone can help me!
 
Joined
Sep 1, 2007
Messages
334 (0.05/day)
Location
UK
System Name Moose 5800X3D
Processor AMD Ryzen 7 5800X3D 3.4Ghz 4.5Ghz Boost 96MB L3 Cache
Motherboard Asus Prime X570-P
Cooling Custom Liquid Cooling covering CPU and GPU including liquid backplate for graphics memory cooling
Memory G.Skill Trident Z RGB 32GB (2 x 16GB) DDR4 DRAM 3600MHz CL18
Video Card(s) PNY GeForce RTX 3090 XLR8 Gaming 24GB
Storage WD Black SN770 2 TB PCIe 4.0 NVMe M.2 + Samsung 970 EVO 1TB PCIe NVMe M.2 + 2x WD Caviar Black 750GB
Display(s) AOC 34" CU34G2/BK Ultra Wide @ 3440x1440
Case Thermaltake Level 20 HT
Audio Device(s) Creative Sound Blaster Z SE
Power Supply Corsair TX850M 850W Semi Modular
Mouse Razer Viper Ultimate
Keyboard Rii K61c
Software Windows 11 Pro
I think more information is needed, does the server program listen to connections to your external IP? Is port forwarding set up to the port the server program uses? Port 80 is usually used for a http server am I correct in you saying it is the port that the server is trying to use? (if you have a http server running it would block anything else using that port).
 
Joined
Mar 31, 2007
Messages
1,895 (0.30/day)
Location
ontario canada
System Name home brew
Processor Intel Corei7 3770K OC @ 4.5Ghz
Motherboard ASUS P8Z77-V
Cooling Corsair H100
Memory 16GB DDR3 1600 GSKILL
Video Card(s) Powercolor Radeon 7970, MSI Radeon 7970
Storage Mushkin Chronos Deluxe 240gb. 2 TB Hdd.
Display(s) 3x24inch Dell Ultra IPS
Case CM storm trooper
Power Supply Antec Quattro OC ed. 1200w
Software Windows 7 Business x64
Benchmark Scores vantage: P43089
Not sure what you mean by "I need to make it so the program does not use local "192.168.x.x" addresses ". I would think it would just need to be listening on a port, forward that port on your router to the computer. I'd recommend something other than 80, though if your school blocks a lot of outgoing ports, can just stick with 80.
 
Top